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.
Linux Compressed Files
- 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.
- Set your umask so that people in your same group and other people on the system cannot read or write any files that you create during this session. Remember that if you logout of sit and back in (or lose connection), you will need to type this command again. Include a screenshot of the command used to set the default permission flags.
- Obtain a copy of the this data file and put this into your account on sit.cna-qatar.edu.qa (not your vm!). Unzip this file into your account (preferably into a temporary folder).
- Make a folder called a35compression with the files and folders as shown here. You will need to create the folders but you must copy the files from the extracted zip file from the previous exercise. When you are finished, use the tree command to show the folder structure (include the size of the files and the permissions)
- Create a file named red.zip which contains the folder red the files inside red. Include a screenshot of the command used to create this file.
- Create a file named green.tar.gz which contains the folder green and the files inside. Include a screenshot of the command used to create this file.
- Transfer the zip and tar.gz files to your VM (any account) using scp and put them into a folder called a35compression and extract the contents. Show the command used to transfer the file and the commands used to extract the files.
- Take a screenshot of the tree command showing that the files have been successfully extracted onto your VM.
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.