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.

Linking Files

  1. 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.
  2. Transfer the file at the link http://sit.cna-qatar.edu.qa/cr2510/datafiles/dist1.zip to your Linux account (any method).
  3. In your home folder on sit, create a folder called a16links and move the zip file to this folder. Unzip the contents of the zip file and remove the original zip file. Create a folder called links. If you were to issue the tree command you would see something like this (there are files in transport, nature, metal, vote).
  4. In the links folder create symbolic links for the following files in your dist folder using a relative path:
    1. In the link folder create symbolic links for the files found in /usr/local/src/dist2 using absolute paths. If there is already an entry for the same name, use the name and append '_abs' to the end of the name.
      1. When you are finished, use the cd command to go to the 'links' folder. Use the 'ls -l' command and take a screenshot. You should see 8 link in total. Here is a sample of what you could expect to see:
      2. Use head to show the first 5 lines of each file in the links folder. Take a screenshot (use multiple ones if you need to).

      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.

      All Rights Reserved by Matrix-admin. Designed and Developed by WrapPixel.