Appendix B. Unix Command Reference
Command | Result |
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> ... |
Get SAMS Teach Yourself Unix in 10 Minutes now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.