########################################################################### # # This is a list of the most prominent commands for UNIX operating systems # # Occasion: Computer Graphics, Summer Term 2006 # # Author: Susanne Krömker # Date: May 04, 2006 # ########################################################################### ls listing of the files and directories ls -l long listing (with permissions modes, size of files in KB) ls -al long listing of all files (also the dot-files) mkdir make a directory cd change directory cd change to home directory cd .. change to the directory above the current directory cd ~cg030 change to the home directory of the user cg030 (that is /export/home/cg030) pwd print working directory, show the current path to the directory mv move (rename) a file or directory mv move (rename) a file or directory cp copy a file cp -r copy a directory and all subsequent files and directories ln -s link symbolically file1 to file2 rm remove a file more show the content of a (text-)file within the terminal (or shell) lpq line printer queue, show the status of accessible printers lp line printer, print a file gtklp graphics toolkit line printer, window based line printer command make execute a Makefile (or makefile, or gmakefile) make -f execute a makefile called make execute the command target in a Makefile chmod 700 ... change the permissions mode of files to -rwx------ chmod 743 ... change the permissions mode of files to -rwxr---wx chmod 761 ... change the permissions mode of files to -rwxrw---x r + w + x = 4 + 2 + 1 man manual pages for the respective command mdir c: listing of external disks (USB sticks) mdir c:/ listing of a directory on external disks (USB sticks) mcopy c:/ copy a file from stick to your account mcopy -s c:/ copy a directory from stick to your account nedit window based editor gedit window based editor