Submittinga 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 iridium.
The tree should have the following structure:
call the top directory MNXB01
create subdirectory named 2020HT
create a subdirectory CONFIDENTIAL inside the 2020HT. Set the directory permissions so that only the owner of the directory can access and list the files within
create a file "favourite-editor" within CONFIDENTIAL that contains the name of the editor you will use during the course. Describe briefly why you chose that one (in that file).
create another directory named firstname_lastname (e.g. Balazs_Konya) within the 2020HT directory
Inside the firstname_lastname directory you should place the following three files
- find a linux comics (cartoon) on the web, download that with wget and move it to the directory.
- place a modified copy of the /etc/services system configuration file. In the modified version the services listed in that file should be ordered alphabetically and each line should be numbered.
- create a file named "used_commands". 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 according to the above specification create a tarball out of the tree.
As the final third step of the homework, copy the tarball to the homework 2 submission directory on iridium (/nfs/shared/pp/MNXB01/hw2). Set the permission and group ownership of the file so that only the members of the mnxb01 group can read it . 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 iridium.
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.