This is an old revision of the document!
UNIX Command Reference
The command prompt in UNIX is called the shell. Here is a list of common UNIX commands which will work across many different versions of UNIX with discrepancies in Example/Notes.
Command | Description | Example/Notes | |||
as | ASsembler | as input.s | |||
cc | C Compiler | cc input.c | |||
cd | Change working Directory | cd tmp - on Version 6 this command is chdir | |||
df | Disk Free | df - May take time to complete on some systems | |||
echo | Echo | echo ${HOME} - Prints the value assigned to the variable HOME | |||
env | ENVironment settings | env - Displays the shell environment settings (see set)) | |||
ls | LiSt directory | ls -l - provides a long LiSting | |||
ps | Process Status | ps -a or ps -l - prints All or Long Process Status | |||
pwd | Present Working Directory | pwd - Prints the working directory | |||
set | SETting | set - Displays the shell environment settings (see env) |