| UNIX: Ten Commands (an updated classic) | ||||
| PRINTING | ||||
| These commands are for text files only!!! See below for PDFs. | ||||
| BASIC: | lpr -P 115 yourfile.c | |||
| FANCY: | enscript -d 115 -M Letter -C -T 3 yourfile.c | |||
| GREEN: | a2ps -P 115 --line-numbers=1 -T 3 yourfile.c (???) | |||
| PDFs | ||||
| Never use lpr on a PDF from the console!!! Never!!! Ever!!! | ||||
| BASIC: | xpdf | |||
| PRINT: | Hit button in xpdf then use command lpr -P 115. | |||
| SLIDES: | evince | |||
| PRINT: | acroread | |||
| PROFILING | ||||
| Tools for first analyzing and then optimizing program execution. | ||||
| TIMING: | time ./a.out | |||
| MEMORY: | memusage -p filename.png ./a.out | |||
| UTILITY: | gcc -pg yourfile.c | |||
| ./a.out | ||||
| gprof -b | ||||
| SOFTWARE | ||||
| vim pdflatex dot display convert gnuplot gifsicle mplayer | ||||
| firefox ooffice kate gimp matlab mathematica mencoder | ||||
| ssh sftp scp zip tar make ps grep kill gv khexedit xvidcap | ||||
| REMOTE | ||||
| Connect to the lab from home or anywhere else on the outside. | ||||
| HOST: | remote.tjhsst.edu | |||
| WINDOWS: | PuTTY WinSCP | |||
| Back to top | ||||