Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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