MNXB11/NAFY018
Home work - tutorial 2
Skip to content
Dashboard
  • Login
  • Dashboard
  • Calendar
  • Inbox
  • History
  • Help
Close
  • My dashboard
  • MNXB11/NAFY018
  • Assignments
  • Home work - tutorial 2
2022 HT/Autumn
  • Home
  • Syllabus
  • Modules
  • Assignments

Home work - tutorial 2

  • Due 30 Sep 2022 by 23:55
  • Points 5
  • Submitting a text entry box, a media recording, or a file upload

Create a linux directory tree

The task is to create a directory tree and populate it with specific files, then wrap up the entire tree as a "tarball" and finally copy the tarball with proper permissions to the hw2 submission directory on aurora.

The tree should have the following structure:

  1. call the top directory MNXB01
  2. create subdirectory named 2022HT
  3. create a subdirectory MY_SECRET inside the 2022HT. Set the directory permissions so that only the owner of the directory can access and list the files within
  4. create a text file "my-favourite-place-in-lund" inside MY_SECRET that contains the name of your favourite building, restaurant, park, whatever in Lund.
  5.  create another directory named three_files within the 2022HT directory
  6. Inside the three_files directory you should place the following three files

            - find a linux comics (cartoons, memes, etc) on the web, download the file using the file's direct URL with wget, then move the downloaded file to the three_files directory.

            - place a modified copy of the /etc/services system configuration file.  In the modified version the services should be ordered alphabetically and each line should be numbered.

            - create a file named "command-history". In this file specify the full command line input, including your prompt, you used  a) to download the linux cartoon b) to create the tarball

Once the directory tree is created and populated following the above instructions, create a tarball out of the tree.  The root (top) of the tarball should be the MNXB01 directory.

As the final step of the homework, copy the tarball to the homework 2 submission directory on aurora  (/projects/hep/fs10/mnxb01/HW2-submission).  Set the permissions of the file so that you as the owner can only write (not read or execute) and the owner group can only read (not write and execute) the tarball file., everybody else should have no access to the file (neither read, write or execute). Furthermore,  make sure you give a unique recognizable name to your tarball (e.g. your_name_homework2.tgz)

 

As a submission in Canvas, please specify the full path of the tarball of your homework on aurora.

 

Strong recommendation: Please do check that your tarball contains the required files (e.g. run the tar -xvf my-tarball) . In previous years many students created "something" then never actually checked the content.

 

 

Submission and communications via Canvas only.

1664574900 09/30/2022 11:55pm
Please include a description
Additional comments:
Rating max score to > Pts
Please include a rating title

Rubric

Find rubric
Please include a title
Find a rubric
Title
You've already rated students with this rubric. Any major changes could affect their assessment results.
 
 
 
 
 
 
 
     
Can't change a rubric once you've started using it.  
Title
Criteria Ratings Pts
This criterion is linked to a learning outcome Description of criterion
threshold: 5 pts
Edit criterion description Delete criterion row
5 to >0 Pts Full marks blank
0 to >0 Pts No marks blank_2
This area will be used by the assessor to leave comments related to this criterion.
pts
  / 5 pts
--
Additional comments
This criterion is linked to a learning outcome Description of criterion
threshold: 5 pts
Edit criterion description Delete criterion row
5 to >0 Pts Full marks blank
0 to >0 Pts No marks blank_2
This area will be used by the assessor to leave comments related to this criterion.
pts
  / 5 pts
--
Additional comments
Total points: 5 out of 5
Previous
Next
MNXB01-OperatingSystems.pdf MNXB01-tutorial-2.pdf