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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started