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

  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. All your scripts for this week and next week will live in that directory.
  4. Add the ~/scripts directory to your PATH environment variable, and make the change permanent using the method you learned last week.
  5. Close the terminal, and start a new one.
  6. ls ~/Documents
  7. Verify the path variable by typing echo $PATH
  8. 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 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!