Unix Command Codes Command Function Example ------------------------------------------------------------------------------- archie search for string in FTP archie -m 5 LaTeX alias shortcut macro for commands alias aliasname command apropos help functions on commands apropos command awk pattern scanning language finger -l | awk '/name/' banner poster message to unix user banner mes|write username bc desktop calculator bc bg exec last command on background bg biff give notice of incoming mail biff n cal display calender cal 12 2000 cat concatenate or display files cat file1 file2>file3 cd change working directory cd dirname chdir change directory chdir dirname chfn change user information chfn chmod change mode permission of file chmod og+r filename clear clear screen clear compress compress files compress filename cp copy file cp filename date display day and time date df report disk block and file df du disk usage du echo write to a user echo mes|write username elm interactive mail system elm env set and print enviornments env fg resume suspended session fg figlet character text to user figlet|write username file determine file type file filename find find files find . -name file -print finger who, where is username finger username frm display selected messages frm -s new fs file server see_example_at_bottom ftp file transfer protocol ftp joker.sfsu.edu grep search a file for a pattern grep word filename history display last 30 commands history jobs list jobs status jobs kill terminate suspended job kill %1 klog authenticate to obtain token klog kpasswd change password kpasswd last last login of user last username latex text formatter latex filename ln link to file or directory ln -s linkdirfile dirname locate find files locate filename logout disconnect current host logout look looks up similar words look word ls list files in database ls -F lynx Information browser for www lynx mail send or receive mail mail user@domain