Updated: 2015-02-10 12:56 EST
.bashrc
fileCheck the due date for each assignment and put a reminder in your agenda, calendar, and digital assistant.
PS1, find, mkdir, mv
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.
alias, sum, unalias
date, head, nl, tail, tr, wc
vim
vimtutor
program on the CLS.Assignment #05 HTML is ready
Finish the above assignments, which involve work on the worksheets.
Read the Test Instructions (all the words) before your first midterm test.
Tests take place in your 8am lecture hour, not in your lab period.
This week, we finish I/O redirection and review for the midterm test.
Students who did not change their passwords (see Assignment #02) have had their CLS accounts disabled.
Due date changes for Assignment #04 and Assignment #05.
I’ve written information on Automatic Backups on the CLS that explains how to get back a file you’ve deleted or changed.
I wrote a new web page on using awk
to select fields.
The VI Text Editor creates hidden recovery files as you edit that can get included in recursive path listings: .*.swp
Don’t use strange commands and/or options you find on the Internet. Stick with the commands in the web notes and assignments and listed in the weekly notes under List of Commands You Should Know.
Students who save an hour by not attending a lecture usually end up spending three hours trying to answer assignment questions that I gave the answers to in the lecture. Work smarter.
READ THIS: This is a repeat of what I told you back in Week 3:
Your time as a student is valuable. If you come up against a tough problem and make no progress in fifteen minutes despite your best efforts:
This happens to all of us, and we need to watch out for it when it happens.
Be especially careful if you find yourself trying to solve a problem with online searches, since those searches will return answers irrelevant to the assignment. Read and search the course notes; don’t waste time searching the entire Internet.
I watch students trying to solve assignment problems using online searches for answers. They may end up using commands we haven’t even covered yet:
Sorry, I dont know what
sudo
does; was getting help online to find files.
If you look at the List of Commands You Should Know that is given in the weekly readings every week, you will see that we haven’t covered the sudo
command yet, so you should not be using it. Don’t use commands that you haven’t learned yet.
Also, you must never use any command that you don’t understand, even if you get it from the course notes or a worksheet. You risk deleting all your files if you use commands you don’t understand.
If you use online help, you will find thousands of complex wrong ways to do things. If you read the course notes, not Google, you will find a simple, right way.
You only need to use the commands we’ve learned so far in the course notes and the worksheets. That is all.
A student writes:
But for the note taking, I personally find that without my laptop in front of me I am more focused on the teacher. Also with taking the notes by hand I find that the information that is presented to me in the lectures is remembered much easier.
But I do have my ipad in front of my with the class notes. This also helps me follow along with the examples that you present in class.
Also sometimes I read over the class notes after the class and fix my notes with anything that was missed.
I told you not to try to log in to the CLS with a blank userid. Now your home IP address is locked out from the CLS:
Feb 6 14:29:24 Accepted password for XXXXXXXX from 174.95.88.168
Feb 6 14:56:59 Invalid user from 174.95.88.168
Feb 6 14:57:07 Failed password for invalid user from 174.95.88.168
Feb 6 14:57:14 Failed password for invalid user from 174.95.88.168
Feb 6 14:57:32 Failed password for invalid user from 174.95.88.168
Feb 6 14:57:47 Failed password for invalid user from 174.95.88.168
Feb 6 14:57:57 Invalid user from 174.95.88.168
Feb 6 14:58:16 Failed password for invalid user from 174.95.88.168
Feb 6 14:58:49 Failed password for invalid user from 174.95.88.168
Feb 6 14:58:52 Failed password for invalid user from 174.95.88.168
Feb 6 14:58:59 Failed password for invalid user from 174.95.88.168
Feb 6 14:59:07 Failed password for invalid user from 174.95.88.168
Feb 6 14:59:11 Failed password for invalid user from 174.95.88.168
Feb 6 14:59:25 refused connect from orlnon0604w-lp130-04-2925484200.dsl.bell.ca (174.95.88.168)
Don’t do that. Here is an attack from a local Ottawa IP address:
Feb 6 21:36:58 Invalid user admin from 67.210.172.117
Feb 6 21:37:00 Failed password for invalid user admin from 67.210.172.117
Feb 6 21:39:23 Invalid user guest from 67.210.172.117
Feb 6 21:39:25 Failed password for invalid user guest from 67.210.172.117
Feb 6 21:41:48 Invalid user info from 67.210.172.117
Feb 6 21:41:50 Failed password for invalid user info from 67.210.172.117
Feb 6 21:44:14 refused connect from 67.210.172.117 (67.210.172.117)
If that’s you, you need to review your Course Linux Server login notes. I did not re-enable this IP address; you have to contact me.
fgrep -c "refused connect" /var/log/auth.log
fgrep "refused connect" /var/log/auth.log | wc
fgrep 'refused connect' /var/log/auth.log | tail
less /etc/hosts.evil