Winter 2014 - January to April 2014 - Updated 2014-04-13 05:18 EDT
23h59 (11:59pm) Thursday April 17, 2014 (end of Week 14)
assignment09.txt
in your CLS account.assignment09.txt
uploaded to Blackboard.WARNING: Some inattentive students upload Assignment #9 into the Assignment #8 upload area. Don’t make that mistake! Be exact.
This is a BONUS assignment for extra credit. It is optional.
CST8207-14W
directory in your CLS HOME directory.Assignments
directory in the CST8207-14W
directory.assignment09
directory in the Assignments
directory.The correct directory tree will look similar to the ASCII tree diagram below. The spelling and capitalization must be exactly as shown.
CST8207-14W
`-- Assignments
`-- assignment09
This assignment09
directory is the base directory for most pathnames in this assignment. Store your files and answers below in this base assignment09
directory.
Use a Linux text editor to create a new plain text answer file named assignment09.txt
in the base directory on the CLS. For every question that you answered incorrectly on the second midterm test, reproduce in the answer file (1) the question you got wrong (from your own question sheet) and (2) the correct answer to the question.
If you had no incorrect answers, upload an empty answer file. If you missed the test, you have to copy the entire test and answer every question.
Underneath each question and correct answer in your answer file, indicate where in the Class Notes (which section of which Class Notes file) you can learn how to generate this correct answer. No marks are awarded unless your source for getting the answer is shown. Show me that you know where in the notes the answer comes from. Number each question with a leading Q
and use this format for each answer:
Q5. How do you recursively remove a non-empty directory?
Answer: rm -r
Source: Worksheet 3 section 5 rm command
Q22. What character signals EOF at the keyboard?
Answer: ^D
Source: 120_shell_basics "Interrupting Processes and signalling End-of-File"
Source: 200_redirection "Input Redirection"
Q
using the above format.You can copy-and-paste each question and the correct answer into your answer file. You must do your own work finding where the correct answer can be found. Marks are awarded for original typed work for the source, not for copy-and-paste from your friends. Any source answers that are found to be copy-and-paste from some other document will require you to resubmit the entire lab as hand-written and will result in a charge of plagiarism or academic fraud as well. Do your own research; type your own answer locations; no copy-and-paste from your friends.
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.
Submit the assignment09.txt
file under the correct Assignment area on Blackboard (with the exact name) before the due date. Upload the file via the assignment09 “Upload Assignment” facility in Blackboard: click on the underlined assignment09 link in Blackboard. Use “Attach File” and “Submit” to upload your plain text file.
No word-processor documents. Do not send email. Use only “Attach File”. Do not enter any text into the Submission or Comments boxes on Blackboard; I do not read them. Use only the “Attach File” section followed by the Submit button. If you need to comment on any assignment submission, send me email.
You can upload the file more than once; I only look at the most recent. You must upload the file with the correct name; 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 submissions.
You will also see the Review Submission History page any time you already have an assignment attempt uploaded and you click on the underlined assignment09 link.
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. No word processor documents. 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/Nano/Pico/Gedit.
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 these words. Don’t make that mistake! Be exact.
READ ALL THE WORDS. OH PLEASE, PLEASE, PLEASE READ ALL THE WORDS!