The mid-term will be based on course material presented up to, but excluding the lecture before the mid-term (February 17). That is, the topic of processes will not be covered.

All of the concepts covered in class are examinable. This guide just highlights some of the details which should be committed to memory.

Commands

You must know how to use the following commands. The function of options in brackets should be memorized:

Executables:

cat
chmod (symbolic and octal notation)
chown
cp (-r, -i) 
file
grep (-c)
head (-number)
id
less
ln (-s)
ls (-l, -d, -a)
man
mkdir (-p)
mv (-i)
rm (-r, -i, -f)
sort
su
sudo
tail (-number, -f)
tee
touch
umask (octal notation)
uniq (-d)
wc (-l)
which

Shell Builtins:

alias
cd
echo (-e)
exit
help
history
pwd
type
unalias

Git

For the mid-term, there won't be any detailed technical questions on git, but concepts are fair game.

Escape Sequences

\t
\n
\r
\b

Redirection

You must be able to explain and use the following operators:

>
<
>>
2>
&>
2>&1
|

Expansion

You must know the syntax for the following types of expansion:

Pathname expansion (globbing)
Tilde expansion
Arithmetic expansion
Brace Expansion
Parameter expansion
Command substitution

Permissions

You must know both symbolic and octal notation for chmod.