Question
1. Start a new bash shell/terminal session. 2. In your ~/Documents directory, make sure there are at least a couple of files--doesnt matter what they
1. Start a new bash shell/terminal session. 2. In your ~/Documents directory, make sure there are at least a couple of files--doesnt matter what they are, as long as there are at least a couple of files there (if not, create some files using touch. If youre on another distribution and have no ~/Documents directory, create one, and then create a couple of files in it). 3. In your home directory, make a new directory called scripts_hw. 4. Add the ~/scripts_hw directory to your PATH environment variable using the method you learned in the class. 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. >>>>>Paste your terminal capture below this line >>>>> <<<<< Paste your terminal capture above this line <<<<
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