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.

Compare 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. Create a folder named a38compare and copy and paste the contents of the file shown below into files named passwd. This file represents the accounts that exist on the system (i.e. it is like the password file).
  3. You have been tasked with creating missing accounts for the following people: X. DO NOT ACTUALLY CREATE THE ACCOUNTS!!!
  4. Use the comm command to produce a list of accounts that need to be created. Take a screenshot of this command and the output.
  5. Hints: You need to have a list of users from the passwd file (but only the usernames) sorted alphabetically. You also need to have a list of users that you want to create the accounts. Then you can use comm to find out who is in the list of needed users who is not in the password file.
  6. As a check...your list should have the following people:

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.

Copy and paste these lines into a file

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