# 1 C O U R S E    E V A L U A T I O NIndex

`````` ____   _                           ____          __   __
|  _ \ | |  ___   __ _  ___   ___  |  _ \   ___   \ \ / /___   _   _  _ __
| |_) || | / _ \ / _` |/ __| / _ \ | | | | / _ \   \ V // _ \ | | | || '__|
|  __/ | ||  __/| (_| |\__ \|  __/ | |_| || (_) |   | || (_) || |_| || |
|_|    |_| \___| \__,_||___/ \___| |____/  \___/    |_| \___/  \__,_||_|
____ ____ _____   _____            _             _   _
/ ___/ ___|_   _| | ____|_   ____ _| |_   _  __ _| |_(_) ___  _ __
| |   \___ \ | |   |  _| \ \ / / _` | | | | |/ _` | __| |/ _ \| '_ \
| |___ ___) || |   | |___ \ V / (_| | | |_| | (_| | |_| | (_) | | | |
\____|____/ |_|   |_____| \_/ \__,_|_|\__,_|\__,_|\__|_|\___/|_| |_|``````

# 2 Readings, Assignments, Labs, Tests, and ToDoIndex

## 2.1 Read (at least) these things (All The Words)Index

1. Week 12 Notes HTML – this file – Read All The Words
2. Shell Control Structures – if, then, else, test, `[...]`
3. Shell Script Problems – arithmetic, syntax, test, boolean, etc.
4. List of Commands You Should Know
5. Linux and Sysadmin News in the World
6. Video Tutorials on Lynda.com – tagged by week number

## 2.2 Assignments this weekIndex

Reminder: There are now two quizzes that you need to complete on Blackboard as part of your term Quiz mark. A third quiz will be posted before the Final Exam. The Quizzes are not optional.

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.

• Read All The Words, Do, and then Submit via Blackboard:
• Bonus (optional) Assignment #04 HTML – the VIM text editor
• Bonus (optional) Assignment #09 HTML about Midterm #2
• There is a checking program available to check your file format for this bonus assignment, but only people who Read All These Words will know about it. Wrong format means no marks.
• Assignment #11 HTML – shell scripts
• The checking program has a feature to check just one of your scripts.
• Really do Read All The Words. You don’t get a second chance to get it right.

## 2.3 Lab work this weekIndex

• Read The VI (VIM) Text Editor and optionally do the bonus Assignment #04 HTML.
• Bonus (optional) Assignment #09 HTML about Midterm #2
• There is a checking program available to check your file format for this bonus assignment, but only people who Read All These Words will know about it. Wrong format means no marks.
• Assignment #11 HTML – shell scripts
• The checking program has a feature to check just one of your scripts.

## 2.4 Final Exam 8am C144 Wednesday April 27Index

The Final Exam is 8am to 11am (three hours) in C144 Wednesday April 27 in Week 15. Put the 8am exam date and time into your phone reminders!

• The final exam emphasizes material after the second midterm test, but it covers the whole course and therefore includes material from all the assignments and Practice Tests and Answers.
• Three Hours! Take a bathroom break before you start the exam.

# 4 From the Classroom Whiteboard/ChalkboardIndex

• Take notes in class! Your in-class notes would go here.

Microsoft supports Linux command-line programs on Windows 10

## 4.1 Finding world-writable files in your accountIndex

Don’t create files or directories that anyone (“other”) can write, except the required ones in the Assignment #08 HTML `head` directory!

• To learn how to `find` these world-writable files in your account, look for the text `world-writable` in all the course notes.
• To search the course notes, re-read Items 7 and 8 in section 4.4 of Assignment #05 HTML. See also the examples in the web notes on finding files in the Week 03 Notes HTML.
• You will be able to identify which course notes web page you should read to find out how to find world-writable files.

## 4.2 The `test` string equality operator is `=` not `==`Index

Don’t use double equals `==` in string tests in your scripts. Follow the link for details.

## 4.3 Fifteen minute ruleIndex

Your time as a student is valuable. See the Week 03 Notes HTML.

## 4.4 CommandsIndex

Keep a notebook with a List of Commands in it. - You need to write down yourself what each command does. - I will check for this list in your lab periods. - Check the updated list of commands each week.

## 4.5 Locked outIndex

If this happens, you have to follow the posted directions to have me unlock your IP address. You can change to another IP address. You can always come to school where no IP addresses are locked out.

## 4.6 Attacks on the Course Linux ServerIndex

• Count the attacks: `fgrep -c "refused connect" /var/log/auth.log`
• Another way to count the attack lines (slightly less efficient): `fgrep "refused connect" /var/log/auth.log | wc`
• See the current list of evil host IPs: `less /etc/hosts.evil`
``````Author:
| Ian! D. Allen  -  idallen@idallen.ca  -  Ottawa, Ontario, Canada