Updated: 2017-11-30 01:58 EST
whoami
groups
ls -la
chown
, sudo
, or su
on the CLSrwx
notationchmod ugo+rwx
… etc.chmod 644
… etc.Check the due date for each assignment and put a reminder in your agenda, calendar, and digital assistant. Just like in the Real World, not all due dates are on the same days or at the same times.
umask
Worksheets are preparation for your assignments. You can’t do the assignments without having done the worksheets first, and you can’t do the worksheets without having first read the Course Notes:
Form a small study group to do the worksheets. Each person tries the example given, and you make sure you all get the same answers. Worksheets are not for hand-in; they are not worth marks; the assignments test your knowledge of the lectures and worksheets.
The worksheets are available in four formats: Open Office (ODT), PDF, HTML, and Text. Only the Open Office format allows you “fill in the blanks” in the worksheet. The PDF format looks good but doesn’t allow you to type into the blanks in the worksheet. The HTML format is crude but useful for quick for viewing online.
Do NOT open the Worksheet ODT files using any Microsoft products; they will mangle the format and mis-number the questions. Use the free Libre Office or Open Office programs to open these ODT documents. On campus, you can download Libre Office here.
alias, sum, unalias
date, head, nl, tail, tr, wc
vim
vimtutor
program on the CLS.chmod, ls -lid, umask
Worksheets prepare you for the upcoming assignments.
This course has two midterm tests and one final exam.
Your Second Midterm test is 45 minutes long and contains approximately 45 multiple-choice questions similar to those found in the two preceding Practice Tests and Answers. Do both practice tests before the Second Midterm test!
Midterm tests take place at 10am in your 50-minute lecture class, not in your lab period.
The Final Exam is three hours long and contains approximately 180 multiple-choice questions similar to those found in the three preceding Practice Tests and Answers. Do all three practice tests before the Final Exam!
All three practice tests will be posted under Practice Tests and Answers. The Final Exam is comprehensive of the whole course; you need to do all three practice tests for the Final Exam.
Take notes in class! Keep a pad open on your desk.
ln -s
: The first pathname argument is the TARGET of the symlink; it is not relative to or affected by your current directory; it’s just a piece of text. Any one of the ln
commands below would create exactly the same symlink bar -> foo
in the d
directory:
$ mkdir -p a/b/c/d ; date >a/b/c/d/foo
$ ln -s foo a/b/c/d/bar
$ cd a ; ln -s foo b/c/d/bar
$ cd a/b ; ln -s foo c/d/bar
$ cd a/b/c ; ln -s foo d/bar
$ cd a/b/c/d ; ln -s foo bar
The first pathname argument is the TARGET of the symlink; it doesn’t change when you change directories. The second pathname argument is where you want to create the symlink, and of course if it is a relative pathname then it changes depending on your current directory.
wc
command (often used in tests):
wc -l
wc -w
(Needed for your second midterm test.)wc -c
Know (for the assignment) the three commands that are directory operations that manipulate file names; they don’t touch the file data and don’t need any permissions on the file data.
diff
command compares two files: diff file1 file2
vimdiff
and gvimdiff
meld
Many students find that hiring a personal tutor helps them get through the first term. Financial assistance is available. See the Tutoring heading in the Course Introduction.