Review

Commands:

ls list contents of current directory
ls -l long listing (shows permissions and file size, etc)
man <some command> manual for a certain command
slocate locate all occurrences on system
slocate kill database search of all occurrences of the string 'kill'
who who is logged into the system
cal calendar
cal 2 2002 display the calendar for February 2002
pwd print working directory
date display the date
cd change directory
more page down through a text file
less page up and down through a text file (also searchable)
su switch user
su -  become the root user with root's environment
su - barneyr become the user barneyr with barney's environment
netstat network connections, statistics, routing tables
netstat -r shows routing information
route set static or default route
route add default gw <IP> installing the default router
ifconfig set or display network configuration
ifconfig -a shows all network cards
ifconfig eth0 just eth0
adduser create user account
adduser -g users username add a user to the group "users"
passwd changing your own password
passwd someuser setting password for another user as root
shutdown -h now Halt your machine now
init 0 halt and power down -- change run level
mount servername:/path/filesystem /mnt/directory NFS mount a remote server's filesystem onto the directory /mnt/directory
whoami returns name of user executing the command
mail username sending mail
mail reading mail
wc word count
wc -l /etc/passwd count the lines in the passwd file
mkdir make directory
mkdir -p /tmp/a/b/c makes parent directories if they don't exist
fdisk -l

list partition table

mkbootdisk Make a bootable install floppy
chmod change file modes (permissions) on files or directories
chgrp, chown change group, change owner on file or folder
cp -R /home/mydir /tmp copy the directory mydir and all files and directories beneath it to /tmp/mydir
rm -r directory remove the directory and all its contents
rm filename remove a file

Config files:

Concepts: