To search recursively through all folders: grep -r string * To pipe grep results to ls: ls -R |grep f90 To look at all of your files via more: /bin/ls -R |more To gain the powers of root: sudo zsh To change your ssh shortcuts: /etc/hosts See your ip address: ifconfig Print to file 'filename.eps' in Matlab: print -depsc -r1200 filename To get windows to open remotely: xhost + ssh -X To dump .nc datafiles: ncdump -h filename.nc Once in Workspace/ folder, type: cvs checkout Shadow Then to check back in: cvs commit To make, look in, or extract a tar file: tar -cvf filename.tar folder tar -tvf filename.tar tar -xtvf filename.tar To remove white around a jpg: convert -crop 0x0 picture.jpg picture2.jpg Smaller web pictures: convert -density 100x100 -quality 100 -geometry 256x192 summer\ 264.jpg hale.jpg For 4x6 scans to web: convert -density 100x100 -quality 100 -geometry 512x384 filename.jpg newfilename.jpg To run aaron's album, sit in directory with pictures and type ../album/album To convert eps to jpg: convert -density 100x100 -quality 100 -geometry 1800x1600 '*'.eps figure.jpg For web pictures: convert -density 100x100 -quality 100 -geometry 360x320 '*'.eps figure.jpg For movies: convert -rotate 90 -delay 100 *.eps myanim.gif convert -density 100x100 -quality 100 -rotate 90 -delay 100 *.eps myanim.gif To compile with dgesv on mathnet: f90 -o test test.f90 -xlic_lib=sunperf To print sideways: mpage -2P filename or enscript -2rg filename To change permissions: chmod og-xrw *filename* (makes available only to you) chmod 755 *filename* (makes readable to everyone) chmod 644 *filename* (makes available only to you as well) Result for chmod should look like: drxw------ if it's private, i.e. no looking or writing. drxwrx-rx- if it's public but not changeable. drxwr--r-- if it's public but you don't want others to execute it (if its a program for instance)