Question: 5. In your ~/script_hw directory, create a file called script1 that will display all the files (ls command) with long listing format (-l), and all

5. In your ~/script_hw directory, create a file called script1 that will display all the files (ls command) with long listing format (-l), and all the processes (ps command).

6. Change the default permission of your script1 file so that you will be able to execute it.

7. Execute script1.

8. In your ~/script_hw directory, create another file call script2 that will display the date, username, user ID, HOME environment variable, PATH environment variable.

9. Change the default permission of your script2 file so that you will be able to execute it.

10. Execute script2.

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 Databases Questions!