Unix Help
Alphabetized Commond Unix Commands


The following is a listing of some common Unix commands. To learn how to use these commands check the man page. (see Getting Started With Unix - Getting Help)

Unix Command    		     Action


awk [options][filename]	           A pattern matching program
cat [options] filename             Concatenate - prints the 
				    contents of a file to the 
				    screen.
cd [directory]                     Change directory.
chmod [options] filename           Modify file or directory 
				    permissions.
clear                              Clear the screen.
cmp [options] filename1 filename2  Compare the contents of two 
				    files.
compress [options] filename        Compress a file.
cp [options] filename1 filename2   Copy a file.
crypt [password]                   Encrypt and decrypt the 
				    contents of a file.
date [options]                     Shows the time and date.
diff [options] filename1 filename2 Shows differences in files.
emacs [options] filename           A Unix text editor.
file [options] filename            Classify files by type.
finger [options] username          Display information about 
				    local and remote users.
ftp [options] host                 File Transfer Protocol.
				    Transfers files to and from 
				    a remote network site.
grep [options] string filename     Search file for string.
head [options] filename            Display the first lines of 
				    a file.
ispell [options] filename          Check the spelling of a file.
kill [options] pid                 Kill a process.
less [options]                     A more powerful more.
lp [options] filename              Print a file.
ls [options] [filename]            Displays the contents of 
				    a directory.
man [options] command              The Unix help command.
mh any mh command                  A Unix mail program.
mkdir [options] directory          Make directory - Creates 
				    a directory.
more [options] filename            Displays file contents.
mv [options] filename target       Move file to target.
nice [-n] command [arguments]      Execute command with a lower 
				    CPU scheduling priority.
passwd [options]                   Changes your Unix password.
ps [options]                       Prints information about 
				    active processes.
pwd                                Prints the current directory.
rlogin [options] hostname          Establishes a remote login 
				    session.
rm [options] filename              Deletes a file.
rmdir [options] directory          Deletes a directory.
rsh [options] hostname [command]   Connects to the specified 
				    hostname and executes the 
				    specified command.
script [filename]                  Writes everything printed
				    on your screen to filename.
sed [options] filename             A stream editor.
sort [options] filename            Sorts contents of a file.
tail [options] filename            Displays last lines of file.
tar key [options] filename(s)      Tape archiver.  
				    Compresses and stores files.
telnet [hostname [port]]           Communicates with another
				    host.
touch [options] [date] filename    Creates an empty file.
uncompress filename.Z              Uncompresses a file.
uudecode filename                  Converts a uuencoded file.
uuencode [filename] newfilename    Converts a file to ASCII.
vi [options] filename              A Unix text editor.
view [options] filename            Read only version of vi.
w [options] [user]                 Displays the current 
				    activity on the system.
wc [options] filename(s)           Counts lines, words, and 
				    characters in files.
whereis [options] filename         Locates source/binary and
				    man pages for filename.
which [filename]                   Locates executable files.
who [options] [filename]           Displays information 
				    about current system users.
zcat [filename.Z]                  A compression program.