Submittinga text entry box, a media recording, or a file upload
Available
12 Sep 2019 at 15:30 - 31 Oct 2019 at 23:59
This assignment was locked 31 Oct 2019 at 23:59.
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". The tree should have the following structure:
call the top directory MNXB01
create subdirectory named 2019HT
create a subdirectory CONFIDENTIAL inside the 2019HT. 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 2019HT 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. Make sure the cartoon is NOT already contained in the tarball linux-cartoons.tgz published on Canvas.
- place a copy of the system configuration file that contains the user names and user IDs. Hint: The file's name originates from the old time when its initial function was to contain the data used to verify passwords of user accounts. You can find this file in the /etc directory.
- 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, please create a tarball out of the tree and upload that tarball as a solution for the homework.
Strong recommendation: Please do check that your tarball contains the required files (e.g. run the tar -xvf my-tarball) BEFORE you upload it to Canvas. In previous years many students created "something" then never actually checked the content.