Question: 1. Using command line arguments or read command create a folder in your Documents Folder as Assignment2_YourFullName. The folder must be created within your existing

1. Using command line arguments or read command create a folder in your Documents Folder as Assignment2_YourFullName. The folder must be created within your existing Documents folder.

2. Within the folder create a file using touch command . The file must provide the following: a. Today's Date b. Your Login Information ie.(username) c. How long the Linux has been running d. The current ip of your machine All this information is to be saved in the dummy file created in the task 2 .

3. After the file is created you should create a backup file of the dummy file named backup_dummyfile.txt

4. Change the permissions of the file such that you only can read , write and execute the file.

5. The file should also hold grades of your last 5 courses you have taken. [ you can use command line arguments to take inputs from the script].

6. Using sort command and other commands create a file for highest score as highestescore.txt

7. Using sort command and other commands create a file for lowest score as lowestscore.txt

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!