Practice Paths 1

Use the picture to answer the questions below:

To work out the answers, do it on paper, then submit on Canvas (follow the instructions posted there).

Instead of mcbishop, use your own login directory. Draw the results on the picture, and bring it to class if you want your TAs to check it. Do not worry about submitting the updated picture when turning in your work.

So, using just your brains (no trying first in the command-line!), answer these 5 questions:

  1. If you are in the P3 directory, write the command go to your home
    1. using a relative path
    2. using an absolute path
  2. Write the command show a long listing of Here
    1. using a relative path if you are in the Command directory
    2. using an absolute path
  3. Write the command to copy the file P3 to the Command directory?
    1. using a relative path if you are in the P2 directory
    2. using a relative path if you are in the P3 directory
    3. using a relative path if you are in the Command directory
    4. using an absolute path
  4. Write the command to copy the files in P3 to the Command directory?
    1. using a relative path if you are in the P2 directory
    2. using a relative path if you are in the P3 directory
    3. using a relative path if you are in the Command directory
    4. using an absolute path
  5. What's the difference between these last 2 (Questions 3 and 4)?
  6. What do you think the yellow color means? The blue? What color should hereWeAre be, and why?

When you have submitted, then you can log in and create the directory structure from Practice down in your $HOME directory and verify your answers.