Question: Start a new bash shell/terminal session. In your ~/Documents directory, make sure there are at least a couple of files--doesnt matter what they are, as
- Start a new bash shell/terminal session.
- 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).
- In your home directory, make a new directory called scripts. All your scripts for this week and next week will live in that directory.
- Add the ~/scripts directory to your PATH environment variable, and make the change permanent using the method you learned last week.
- Close the terminal, and start a new one.
- ls ~/Documents
- Verify the path variable by typing echo $PATH
- Capture the terminal interactions and paste below (should only contain your ls and echo $PATH commands and their output):
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
