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.
You must know how to use the following commands. The function of options in brackets should be memorized:
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
alias
cd
echo (-e)
exit
help
history
pwd
type
unalias
For the mid-term, there won't be any detailed technical questions on git, but concepts are fair game.
\t
\n
\r
\b
You must be able to explain and use the following operators:
>
<
>>
2>
&>
2>&1
|
You must know the syntax for the following types of expansion:
Pathname expansion (globbing)
Tilde expansion
Arithmetic expansion
Brace Expansion
Parameter expansion
Command substitution
You must know both symbolic and octal notation for chmod
.