Updated: 2014-10-17 06:05 EDT
The final exam schedule is posted on the Course Home Page. Your final exam is three hours long, starting at 8am, in T117/119. It will be 180 multiple-choice questions. There will be a set of practice questions, and a quiz on those questions, posted before the exam.
Check the due date for each assignment and put a reminder in your agenda, calendar, and digital assistant.
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 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.
PS1, cd, find, less, ls, man, mkdir, passwd, pwd, rmdir
cat, clear, cp, find, grep, history, less, man, mv, rm, sleep, touch
alias, sum
date, head, nl, tail, tr, wc
vim
vim
vimtutor
program on the CLS.Review last week. Did you do everything assigned last week?
See last week for the Midterm Test results.
See last week for the Midterm Test results.
Take notes in class! Your in-class notes would go here.
This week (Week 7) has a holiday Monday; the College is closed; no classes. Some students will miss their Monday lab, but can attend any other lab. (You can always attend any other lab.) In Week 7, section 010 Theory class 4pm Friday is cancelled (to match the section 020 Theory class missed on Monday); section 010 students come only to the Wednesday theory class.
Students who don’t do the worksheets or don’t have their own list of commands and what they do are wasting huge amounts of time struggling with the assignments, trying to complete them using Google. Most everything you need to know is in the worksheets and class notes.
cp -r dir1 dir2
and mkdir dir2 ; cp -r dir1 dir2
hostname
command shows your computer’s local namewhoami
command shows your useridwc
command has useful options to limit outputlocate
command finds file names using an existing listcut
and awk
commands select fields in lines-ls
instead of -print
with find
, e.g. find . -ls
grep
and fgrep
?bash
built-in commands cd
, alias
, history
, etc.
help
built-in command: help alias
date | wc >out
into a file named cmd.txt
by using echo
to echo it on the screen, and then redirecting the output into a file once what we see on the screen is correct. You can’t just put the word echo
in front of the first command in a shell pipeline; it won’t echo the command line to the screen correctly. You have to quote all the shell metacharacters first:
echo date | wc >out
# doesn’t work; no output on screenecho 'date | wc >out'
# hiding metacharacters does work – command appears on screenecho 'date | wc >out' >cmd.txt
# correct: saves echo
output in a file