O'Reilly logo

SAMS Teach Yourself Unix in 10 Minutes by Robert Shimonski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix B. Unix Command Reference

CommandResult
man [section] <command>
Look up a command
pwd
Display current directory
ls [-al]
List directory contents
cd<directory>
Change Directory
rm <filename>
Delete file
cp <filename> <ending filename>
Copy file to new location
mv <filename> <edning filename>
Move file to new location
cat <filename>
Display entire file
more <filename>
Display file one page at a time
wc [-l|w|c] <filename>
Return file statistics: number of words, lines, and characters
uudecode/uuencode <fielname>
Encode/decode binary file to transmit through email
bg/fg <process>
Move process to the foreground/background
ps [ax or ef]
List processes running on the system
kill -<signal> < process ID>
Send end signal to a running process
lp -d<printer name> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required