Updated: 2017-01-20 00:48 EST
whoami
groups
ls -la
chown
, sudo
, or su
on the CLSrwx
notationchmod
chmod 644 ``[names...]
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: 1. Read. 2. Worksheet. 3. Assignment.
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.
umask
Read the Test Instructions (all the words) before your midterm tests. Put these dates into your phone! Use the Name Game link to test your name before the test. I don’t answer questions about the instructions during the test.
Tests take place in class in your 50-minute lecture period, not in your lab period. Each midterm test is 45 minutes long and contains approximately 45 multiple-choice questions similar to those found in Practice Tests and Answers.
The Final Exam is in T117/119 Thursday December 15 11h30 in Week 15. The Final Exam is three hours long. Take a washroom break before you start.
Take notes in class! Keep a pad open on your desk.
Note that your Midterm Test #2 on Wednesday November 9 is worth more than five assignments put together. Don’t spend all your time doing an assignment at the expense of studying the Practice Tests and Answers for the Midterm Test.
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. - Bring your notes to class! Stop wasting time looking up commands.
hostname
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 file1
vimdiff
and gvimdiff
meld
Bonus (optional) Assignment #06 HTML may be done after you get your marks back for Midterm #1. You can use this bonus assignment to make up for lost marks on your first midterm test. See the assignment for the exact Marking Scheme.
Your time as a student is valuable. See the Week 03 Notes HTML.
http://gizmodo.com/todays-brutal-ddos-attack-is-the-beginning-of-a-bleak-f-1788071976
“This morning a ton of websites and services, including Spotify and Twitter, were unreachable because of a distributed denial of service (DDoS) attack on Dyn, a major DNS provider. Details of how the attack happened remain vague, but one thing seems certain. Our internet is frightfully fragile in the face of increasingly sophisticated hacks.”
http://gizmodo.com/this-is-probably-why-half-the-internet-shut-down-today-1788062835
“Twitter, Spotify and Reddit, and a huge swath of other websites were down or screwed up this morning. This was happening as hackers unleashed a large distributed denial of service (DDoS) attack on the servers of Dyn, a major DNS host. It’s probably safe to assume that the two situations are related.”
http://krebsonsecurity.com/2016/10/hacked-cameras-dvrs-powered-todays-massive-internet-outage/
“A massive and sustained Internet attack that has caused outages and network congestion today for a large number of Web sites was launched with the help of hacked “Internet of Things” (IoT) devices, such as CCTV video cameras and digital video recorders, new data suggests.”
14 attacks in 10 minutes:
Date: Sat, 22 Oct 2016 15:09:15 -0400 222.215.118.68 (unknown)
Date: Sat, 22 Oct 2016 15:13:19 -0400 185.29.8.211 (ip-8-211.dataclub.biz)
Date: Sat, 22 Oct 2016 15:13:50 -0400 192.160.102.164 (snowfall.relay.coldhak.com)
Date: Sat, 22 Oct 2016 15:14:56 -0400 178.17.170.253 (178-17-170-253.static.host)
Date: Sat, 22 Oct 2016 15:14:25 -0400 93.100.211.216 (unknown)
Date: Sat, 22 Oct 2016 15:14:25 -0400 94.142.242.84 (tor-exit-1.zenger.nl)
Date: Sat, 22 Oct 2016 15:15:31 -0400 37.48.80.101 (unknown)
Date: Sat, 22 Oct 2016 15:16:02 -0400 163.172.21.117 (163-172-21-117.rev.poneytelecom.eu)
Date: Sat, 22 Oct 2016 15:16:02 -0400 109.163.234.8 (edwardsnowden1.torservers.net)
Date: Sat, 22 Oct 2016 15:16:33 -0400 204.124.83.130 (tor-exit0.conformal.com)
Date: Sat, 22 Oct 2016 15:17:34 -0400 163.172.136.101 (tor.ohundred.com)
Date: Sat, 22 Oct 2016 15:18:04 -0400 209.222.77.220 (tor-relay.redteam.net)
Date: Sat, 22 Oct 2016 15:18:04 -0400 62.210.37.82 (62-210-37-82.rev.poneytelecom.eu)
Date: Sat, 22 Oct 2016 15:19:06 -0400 89.234.157.254 (marylou.nos-oignons.net)
Apparently several TOR nodes were involved.