Amanda Mejia
BST 753 Spring 2014
ssh yourusername@enigma2.jhsph.edu
qrsh to get on a node
exit to go back to enigmaexit again to exit enigmacd
cd [subdir]cd ~/cd /new/path/cd ..pwdlsmkdir [dirname]cp [filename]rm [filename]mv [filename] [newlocation]mv [oldname] [newname]cat [filename] to view entire filehead [filename] or tail [filename] to preview fileless [filename] or more [filename] to scroll through file (hit q to exit)emacs -nw [filename] to view and edit file-". Examples include:
ls -l lists files and includes file informationrm -f [filename] forces removal of file without promptingmatlab -nodisplay opens MATLAB on the command line (without the interactive display window)Rpdf() or png() functionsq()cd path/to/codeemacs -nw shellscriptname.shCtrl-X Ctrl-C then yqsub shellscriptname.sh#!/bin/sh
#$ -cwd
#$ -l mf=40G,h_vmem=40G,h_fsize=10G
#$ -m e -M youremail@jhsph.edu
R CMD BATCH --no-save --no-restore Rfilename.R