Winter 2018 - January to April 2018 - Updated 2018-03-14 19:59 EDT
Do not print this assignment on paper!
- On paper, you will miss updates, corrections, and hints added to the online version.
- On paper, you cannot follow any of the hyperlink URLs that lead you to hints and course notes relevant to answering a question.
- On paper, scrolling text boxes will be cut off and not print properly.
23h59 (11:59pm) Monday March 19, 2018 (Week 9)
assignment06.txt
in your CLS account.assignment06.txt
uploaded to Blackboard. DOS (Windows) format files will not be marked.WARNING: Some inattentive students upload Assignment #6 into the Assignment #5 upload area. Don’t make that mistake! Be exact.
This is a BONUS assignment for extra credit on your midterm test. It is optional.
Bonus Assignment 6 is optional. It is worth up to an additional 25% on your first Midterm Test score. (Though it is called an Assignment, it does not affect your Assignments score; it improves only your first Midterm Test score.) If you do bonus Assignment 6 successfully, I will increase your first Midterm Test mark by 25% (1/4) of the distance between your current test mark and 100%, e.g.:
You must Read All The Words and follow the exact instructions in Assignment 6 for it to be counted. Read All The Words! There will be a similar bonus assignment after the second Midterm Test.
Do a Remote Login to the Course Linux Server (CLS) from any existing computer, using the host name appropriate for whether you are on-campus or off-campus.
Make the CLS directory ~/CST8207-18W/Assignments/assignment06
, in which you will create the Linux-format plain text file from the following task.
This
assignment06
directory is the Base Directory for most pathnames in this assignment. Store your files and answers in this Base Directory.
Make sure you have all the numbered Prerequisites (above) before you begin.
Use a Linux text editor to create a new plain text answer file named assignment06.txt
in the Base Directory on the CLS. For every question that you answered incorrectly on your own Midterm Test #1, reproduce in the answer file:
You may copy-and-paste each question and the correct answer into your answer file from the PDF copy of the test that will be posted after the test is over. The question numbers in the posted test will not match the numbers in your personal question sheet. Use your own numbers, not the numbers from the posted question sheet.
Use the exact format described below to enter the question and the answer. Wrong format means no marks!
If you missed the test, you would have to copy the entire test and answer every question to get full marks (25%) for this bonus assignment.
Underneath each question and correct answer in your answer file, indicate two things:
No marks are awarded unless your exact source for getting the answer is shown. Show me that you know exactly where in the notes, worksheets, or manual pages the answer comes from.
Number each question with a leading Q
and use this exact file format and spelling for each answer section (exact!):
Q5. What is a shell for?
Answer: to find and run programs
Source: 120_shell_basics.html "What is a shell for?"
Why: I forgot the definition of the shell because
I didn't make notes when I read this web page.
Q22. What is the output on your screen of this command line?
echo xx >cat ; head cat >cat ; wc cat
Answer: 0 0 0 cat
Source: 200_redirection.html 3.2 Rule 1b: Redirection file creation and truncation happen first
Why: I did the redirection last, by mistake
Q44. Did you read all the words of the test instructions on page one?
Answer: Taip (Yes - Lithuanian)
Source: Read All The Words on the test question sheet
Why: I did not Read All The Words of the instructions on
the first page of the test.
Q
using the above format.
Answer:
using the above format.Source:
using the above format.
Why:
using the above format.
You may copy-and-paste each question and the correct answer into your answer file from the PDF copy of the test that will be posted after the test is over. The question numbers in the posted test will not match the numbers in your personal question sheet. Use your own numbers, not the numbers from the posted question sheet.
WARNING: You must do your own work finding the source web document where the correct answer can be found. Marks are awarded for original typed work for the Source and Why, not for copy-and-paste from your friends. Any Source or Why lines that are found to be copy-and-paste from some other document will result in a charge of plagiarism or academic fraud. Do your own research; type your own answer source locations and explanations; no copy-and-paste from your friends; they won’t be at your job interview.
In this assignment, you are only answering the questions that you got wrong on the midterm test, not all the questions. Just the ones you got wrong.
You get no marks if you get the format wrong. Spelling, punctuation, and capitalization must be exactly as given above.
You will use a Linux text editor to create the assignment06.txt
Linux-format text file in your Base Directory in your CLS account.
You must create this file on the CLS and keep a copy in your Base Directory.
Submit your Linux-format plain text file following the directions below.
DOS (Windows) format files will not be marked. Create and edit the file on Linux.
Transfer the above Linux-format plain text assignment06.txt
file from the Base Directory on the CLS to your local computer and verify that the file still contains all the correct content from the CLS. Do not edit this file on your local computer! No empty files, please! Edited or damaged files will not be marked. You may want to refer to your File Transfer notes.
Upload the assignment06.txt
Linux-format plain text file from your local computer to the correct Assignment area on Blackboard (with the exact name) before the due date:
assignment06.txt
file from your local computer. Make sure the assignment file has the correct name on your local computer before you attach it. Attach only your assignment06.txt
file for upload. Do not attach any other file names.assignment06.txt
file on the Upload Assignment page, scroll down to the bottom of the page and use the Submit button to actually upload your attached assignment06.txt
file to Blackboard.Use only Attach File, Browse My Computer on the Upload Assignment page. Do not enter any text into the Write Submission or Comments boxes on Blackboard; I do not read them. Use only the Attach File, Browse My Computer section followed by the Submit button. If you need to comment on any assignment submission, send me EMail.
You can revise and upload the file more than once using the Start New button on the Review Submission History page to open a new Upload Assignment page. I only look at the most recent submission.
You must upload the file with the correct name from your local computer; you cannot correct the name as you upload it to Blackboard.
Verify that Blackboard has received your submission: After using the Submit button, you will see a page titled Review Submission History that will show all your uploaded submissions for this assignment. Each of your submissions is called an Attempt on this page. A drop-down list of all your attempts is available.
assignment06.txt
under the SUBMISSION heading.You will also see the Review Submission History page any time you already have an assignment attempt uploaded and you click on the underlined bonus06 link. You can use the Start New button on this page to re-upload your assignment as many times as you like.
You cannot delete an assignment attempt, but you can always upload a new version. I only mark the latest version.
Your instructor may also mark files in your directory in your CLS account after the due date. Leave everything there on the CLS. Do not delete any assignment work from the CLS until after the term is over!
I do not accept any assignment submissions by EMail. Use only the Blackboard Attach File, Browse My Computer. No word processor documents. Linux-format Plain Text only.
Use the exact file name given above. Upload only one single file of Linux-format plain text, not HTML, not RTF, not MSWord. No fonts, no word-processing. Linux plain text only.
The format is Linux-style plain text, i.e. using a Linux text editor such as VIM or Nano or Pico.
NO EMAIL, WORD PROCESSOR, PDF, RTF, DOS, MICROSOFT, MACINTOSH, or HTML DOCUMENTS ACCEPTED.
No marks are awarded for submitting under the wrong assignment number or for using the wrong file name. Use the exact 16-character, lower-case name given above.
WARNING: Some inattentive students don’t Read All The Words. Don’t make that mistake! Be exact.
READ ALL THE WORDS. OH PLEASE, PLEASE, PLEASE READ ALL THE WORDS!