Super Secret Project BriefTask 1
In this task you are asked to create a folder called and inside that folder to place a file called
may contain whatever content you wish.
Once you have created the file, use the command to find the path to .
Using redirection, save the path that the command gives you to a new file called
in your home directory.
Hint: You will need to use to gain the elevated privileges required to update the database. Task 2 Part A) In this task, you are going to create an advanced pipeline that will create a sorted list of the various file sizes on your system.
Firstly, use the
directory, for all files that are over 1 MebiByte in size. Use the option to limit
the commands search to only go 4 levels deep. The search should only show files, not directories.
Use the command on each of those results.
Hint: You will need to put at the start of this command to access all required folders. Part B Below: |
Part B)
Sort the output from Part A using the command. You should sort the data so that the largest file sizes are at the top of the list and the smallest file sizes are at the bottom.
Using redirection, output this data to a file called in your home directory.
Hint 1: You will need to use the k option for the command and define a KEYDEF.Hint 2: The file sizes are the 5th column of data.
Hint 3: You need to let the command to be able to deal with human-readable data.Submission Guidelines In the submission you should include:1. The commands you used to complete all actions in Task 1.2. The complete pipeline for Task 2 (Part A and Part B Combined)Please also include how long it took you to complete the assignment. This is so that I can make the estimation of how long the assignment takes more accurate over time.Please also mark your submission open for feedback from other students so that you can receive feedback as fast as possible. Due to the high volume of submissions it is unlikely that I will be able to give everyone personalised feedback, but please take a look at the instructor example to see my solution after you have submitted your assignment.Important: You can only submit this assignment once. This is due to how Udemys system works and is beyond my control unfortunately.To read more about how Udemys assignment system works, please read the guidelines here.Other than that, I wish you the best of luck with your assignment! You wont recognise yourself after you have completed it and the assignment will serve as a badge of honor for you going forward! Good luck!!!!Ziyad |
Reviews
There are no reviews yet.