Student ID
You can put any integer number here to generate different exercises for practice. However you must submit the activity associated with your ID number to D2L in order to receive credit for the activity.
File Moving
- Take a screenshot of these instructions (including your student number) and the file/folder structure below. If you cannot get everything into the screenshot it is okay, just take your ID number and whatever fits on the screen.
- Transfer the file at the link http://sit.cna-qatar.edu.qa/cr2510/datafiles/dist1.zip to your Linux account using wget.
- In your home folder on sit, create a folder called a08move and move the zip file to this folder. Unzip the contents of the zip file and use the tree command to view the files and folders. There should be 40 files in 4 folders.
- Look at the tree below. You will see 3 folders called f1, f2, and f3. Create these folders in your a08move folder (not the files, just the folders).
- Using the tree below and the Linux move command, reorganize the files from the original folders under dist to the f1, f2, f3 folders as shown. The order that you move the files is entirely up to you. When you are finished, all of the files in the original folders (vote, metal, transport, nature) and you should remove the dist folder and the 4 empty folders. I suggest having a second PuTTY window open while you are doing this and issuing the tree command as you work to know if you are issuing the commands correctly.
- When you are finished make sure that your current working directory is the a08move folder and use the tree command with the option to show the username, the file size, and the date of the last modification of the file (check the manual page for tree if you don't know how to do this). Submit a screenshot of the tree (you can break it into a couple of smaller pictures if you need).
Submission of Work
The daily exercises in this course are based on proving that you have successfully completed the tasks. This is done by determining which command(s) are necessary and collecting a screenshot of the completed work.
For each day, you will submit a PDF file to D2L by 11:30pm. The format MUST BE PDF! Submitting work in any other format will result in a zero. The dropbox closes promptly at 11:30pm and no late submissions by email will be accepted. No special arrangements will be made for any reason. A small number of daily activities will excused at the end of the semester to handle various problems that might arise.
Questions/parts must be clearly labelled. Work submitted without labels will not receive full marks.