============================= Basic Unix/Linux Command List ============================= -IAN! idallen@idallen.ca This is a list of basic Unix/Linux command names used in this course and the week number in which they were first introduced and described. A missing week number means the command hasn't been formally introduced yet. All these command names have manual pages (though some of them are built-in to the shell and are described in the man page for the bash shell, e.g. exit is described deep inside the man page "man bash"). Keep a notebook with these command names in it; you will be required to learn and remember at least some of what each of these commands can do: WK COMMAND __ ______________________________________________________________________ 4 apropos (synonym for: man -k) 3 apt-get install {package} 4 awk ( '{ print $5 }' '{ print $NF }' ) 1 bash 2 cal (9 1752) 1 cat (-s) 1 cd 3 chmod ( +x filename ) 5 cmp 1 cp (-u) 4 cut 1 date 5 diff 1 dir (DOS alias - use ls instead) display 3 dpkg -L {package} 4 du (-k -s) 1 echo (shell built-in and external) 2 exit (shell built-in) 4 file 4 find gnuplot 3 grep (-v -w) gunzip (-c) 4 head (-5) 3 hostname 2 ifconfig ifdown ifup ip iptables 4 last 1 less 1 ls ( -l -a -d ) 7 lspci 7 lsusb 7 lsmod 1 man (-k) 4 md5sum 4 mkdir 1 more mount 2 mv nc (also called "netcat") 5 netstat (-n -a -t -p) 2 passwd 5 ping 6 pstree 1 pwd (shell built-in and external) 2 rm ( -r -f ) 4 rmdir scp script [filename] 6 sleep (10) 4 slocate 2 sort (-n -r -u) ssh (-p) 2 stty ( erase '^H' erase '^?' ) 6 su 3 sudo 4 sum 4 tail (-5) 3 tar (zxf archive.tar.gz) 3 touch 5 tr 5 traceroute tree umount 4 uniq (-c -w) 1 vi, vim (-r) 4 w 2 wc ( -l -w -c ) 2 wget [-O outfile] {URL} 6 whereis 1 which 1 who xli