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:
- If you are in the P3 directory,
write the command go to your home
- using a relative path
- using an absolute path
- Write the command show a long listing of Here
- using a relative path if you are in the Command directory
- using an absolute path
- Write the command to copy the file P3 to the
Command directory?
- using a relative path if you are in the P2 directory
- using a relative path if you are in the P3 directory
- using a relative path if you are in the Command directory
- using an absolute path
- Write the command to copy the files in P3 to the
Command directory?
- using a relative path if you are in the P2 directory
- using a relative path if you are in the P3 directory
- using a relative path if you are in the Command directory
- using an absolute path
- What's the difference between these last 2 (Questions 3 and 4)?
- 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.