This assessment would be given after a short lesson on the basics of the file system.

Q1.  Given the Unix file system shown in the tree diagram below, if your current working directory was smalldir, which of the following commands would you use to change to the planets2 directory?

directory tree

A) cd planets2

B) cd planets/planets2

C) cd ./planets2

D) cd ../../planets/planets2

E) none of these

 

Q2.  Using the same directory structure, move readme.txt located in the planets3 directory to the users directory.