Basic UNIX commands
unixcommand-linelinuxshellreference
Abstraction: Reference guide to essential UNIX shell commands for beginners
Key points:
- File commands: ls (with -l and -a flags), more, emacs, mv, cp, rm (-i for safe deletion), diff, wc, chmod (e.g. o+r/o-r for permissions), gzip/gunzip/gzcat for compression
- Printing: lpr (-P for printer selection), lpq (queue status), lprm (remove by job number)
- Directory commands: mkdir, cd (with .. for parent), pwd
- Finding: find . -name for recursive file search; grep/egrep/fgrep for string search with pattern matching
- User/session: w, who, finger, last, talk, write, whoami, passwd, ps -u, kill (use -9 only as last resort), quota -v, du
- Networking: ssh for remote login, scp for file transfer, ftp (not encrypted), lynx for terminal web browsing
Connections: Stanford University · Unix · Command Line Interface
Source: http://mally.stanford.edu/~sr/computing/basic-unix.html