Summary of some frequently used Linux commands v 0.1 10/18/2004 Kim Ng acroread view a pdf file apropos search for help key words cat type the file. cd change to another directory. chmod change the file protection mode. cp copy a file diff show the differences between two files. dir directory of files du disk/files usage dvips to produce a ps file from a dvi file emacs an editor g77 Fortran compiler gcc cc/cc+ compiler gimp a graphic program kill kill a process, e.g. kill -9 %1 latex latex for Tex. less view a file. lpq status of a print queue. e.g. lpq -Pcolor lpr to print, e.g. lpr -Pcolor xxxx.ps lprm remove a print job. e.g. lprm entry_number ls list, dir. e.g. ls -al man manual, help files, e.g. man pine mkdir make a sub-directory. more view a file, without refreshing the screen. mount mount a floppy, e.g. mount /mnt/floppy mv move a file, e.g. mv xxx.ps sub-dir/ pine mail reader ps show processes, e.g. ps aux quota disk/files usage quota (grad14 only) rm remove/delete the files scp secure copy, copy a file from/to a remote location. ssh secure login, e.g. ssh your_account@grad.physics.sunysb.edu tex to process a tex file top to monitor the system/processes umount unmount a floppy xfig a graphic plotting program xdvi view a .dvi file produced by tex xmaple a mathematical package xview view a jpg or gif file. yppasswd change your password