March 2002
Beginner
504 pages
10h 47m
English
| 1: | Which of the following are absolute pathnames? Which are relative?
|
| A1: | (a) and (d) are absolute pathnames. (b) and (c) are relative pathnames. |
| 2: | What is the output of the pwd command after the following sequence of cd commands have been issued?$ cd /usr/local $ cd bin $ cd ../../tmp $ cd |
| A2: | The pwd command will output the full path to your home directory. |
| 3: | What command should be used to copy the directory /usr/local to /opt/pgms? |
| A3: | The following command will work:
cp -r /usr/local /opt/pgms |
| 4: | What command(s) should be used to move the directory /usr/local to /opt/pgms? |
| A4: | The following commands will work:
cp -r /usr/local /opt/pgms ; rm -r /usr/local |
| 5: | Given the following listing ... |
Read now
Unlock full access