Updated: 2017-01-20 00:48 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. Just like in the Real World, not all due dates are on the same days or at the same times.
This week in lecture we learn about the terminal, the shell, and using pathnames, especially relative pathnames.
Last week, your instructor showed you how to log in to the Course Linux Server and use some simple commands.
This week, your instructor will demonstrate a File Transfer so that you can transfer files from the CLS to your laptop computer for uploading to Blackboard.
Assignment #02 HTML will have you log in to the CLS, do some simple commands with output redirection, and change your CLS password.
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.
These first two worksheets require you to have read File System and Pathnames:
PS1, cd, find, less, ls, man, mkdir, passwd, pwd, rmdir
cat, clear, cp, find, grep, history, less, man, mv, rm, sleep, touch
Worksheets prepare you for the upcoming assignments.
This student did not Read All The Words about login userid and password and got his IP address locked out of the server Sunday evening:
Sep 11 17:49:32 Invalid user [D from 99.100.32.22
Sep 11 17:50:27 Failed password for invalid user [D from 99.100.32.22
Sep 11 18:42:28 Invalid user 040999999 from 99.100.32.22
Sep 11 18:42:50 Failed password for invalid user 040999999 from 99.100.32.22
Sep 11 18:43:36 Failed password for invalid user 040999999 from 99.100.32.22
Sep 11 18:44:33 Invalid user 040999999 from 99.100.32.22
Sep 11 18:45:06 refused connect from xxx.dsl.bell.ca (99.100.32.22)
When you are locked out, follow the directions in the notes to get your IP address re-enabled.
14 students each used the wrong file name:
Bad file name: Assignment 01.txt
Bad file name: assignment01.txt.rtf
Bad file name: assignment01.txt.txt
Bad file name: assigniment01.text
Bad file name: assignment 01.txt
Bad file name: assignment1.txt
Bad file name: Assignment01.txt
Bad file name: Assignment.txt
Bad file name: assignment01.txt.txt
Bad file name: assignment1.txt
Bad file name: assignment01.txt.txt
Bad file name: assignment 01.txt
Bad file name: Assignment01.txt
Bad file name: assginment01.txt
20 students did not use the exact numbering specified in the assignment:
(I - 2a )
(I {96} 2a) # uses non-ASCII hyphen -- did not use Notepad
(I-2C)
(I-2b )
(I-3c)
(I-a
(I=2a)
(i-2c)
I-2a
I-2a)
I-2a.
I-2a:
{I-2.a}
21 people used a word processor instead of Notepad, resulting in non-ASCII characters such as Microsoft “Smart Quotes” and Unicode instead of Plain Text:
what I <92>m getting
whether it<92>s an home
results can<92>t be
I don<92>t see
word <91>Schoolwork<92> means
I don<92>t really
Further, it<92>s good
song that<92>s playing.
I<92>m not actually remembering
till I<92>m done
call <93>avoiding disturb<94>.
be <93>just to pass course<94>.
it<92>s pretty even
don{226}{128}{153}t necessarily
I{226}{128}{153}ll rewrite
{239}{187}{191}Multi-Tasking Considered Harmful
you{226}{128}{153}ll be self
{239}{187}{191}(I-2a) My method
moment{226}{128}{153}s notice
(I <96> 2a) Multi-tasking
Please Read All The Words.
Take notes in class! Keep a pad open on your desk.
This week, we learn about the terminal, the shell, and using pathnames, especially relative pathnames.
cal cat cmatrix date echo exit figlet file history less ls sl toilet users wc who
^L ^W ^U ^C ^D ^R ^Z UpArrow DownArrow
Your instructor will also show you how to use File Transfer so that you can transfer files between your laptop computer and the CLS.