Updated: 2015-01-25 16:54 EST
man
pwd
pwd
, ls
, hidden filescd
, TAB filename completion, absolute/relative pathsCheck 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
Assignment #02 HTML will have you change your CLS password.
Your instructor will show you how to use File Transfer so that you can transfer files between your laptop computer and the CLS.
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.
Review last week. Did you do everything assigned last week?
I put the link to the GNU Coreutils web site in the web page Finding Help in Manual Pages – RTFM
assignment01.txt
IndexAs of Tuesday evening, 93/110 students submitted the first assignment.
One student did not Read All The Words and put text in the Comments box.
Five students did not Read All The Words and uploaded the wrong file name:
xxxxxxxx: Bad file name: assignment.01.txt
xxxxxxxx: Bad file name: Assingment01.txt
xxxxxxxx: Bad file name: assingnment01.txt
xxxxxxxx: Bad file name: assignment 01.txt
xxxxxxxx: Bad file name: assignment01.txt.txt
Nine students did not Read All The Words and used the wrong paragraph numbering system, e.g. I-2A
or I2-a
instead of the specified (I-2a)
.
Please: Read All The Words
Take notes in class! Your in-class notes would go here.
This week, we learn about using pathnames, especially relative pathnames.
Be careful about hidden Windows file extensions that cause uploaded file names with duplicate extensions similar to this: assignment01.txt.txt
Turn on “show extensions” in your Windows host computer to avoid this problem. Go to your assignment upload area and check your file name!
Your IP address is locked out of the CLS if the connection to the CLS fails before even asking for your login or password. To have the IP address unblocked, contact your instructor.
Someone locks out their home IP from the CLS by trying to log in as user date
:
Jan 10 22:24:39 Invalid user date from 99.245.235.108
Jan 10 22:24:48 Failed password for invalid user date from 99.245.235.108 port 54505 ssh2
Jan 10 22:25:10 Failed password for invalid user date from 99.245.235.108 port 54505 ssh2
Jan 10 22:25:22 Connection closed by 99.245.235.108 [preauth]
Jan 10 22:25:43 refused connect from cpe68b6fcf6cc73-cm68b6fcf6cc70.cpe.net.cable.rogers.com (99.245.235.108)
$ fgrep -c "refused connect" /var/log/auth.log
4758
$ fgrep "refused connect" /var/log/auth.log | awk '{print $NF}' | sort | uniq -c | sort -nr | head
1581 (221.235.188.212)
485 (62.210.140.119)
187 (62.210.83.106)
150 (62.210.83.108)
149 (62.210.82.138)
144 (62.210.140.93)
132 (62.210.84.132)
123 (144.0.0.59)
117 (62.210.84.127)
106 (62.210.82.150)
$ whois 221.235.188.212
...
descr: CHINANET Hubei province network
descr: China Telecom
descr: A12,Xin-Jie-Kou-Wai Street
descr: Beijing 100088
$ whois 62.210.140.119
...
descr: IP Pool for Iliad-Entreprises Business Hosting Customers
descr: Online SAS
descr: Paris, France
$ whois 144.0.0.59
...
descr: CHINANET SHANDONG PROVINCE NETWORK
descr: China Telecom
descr: No.31,jingrong street
descr: Beijing 100032