
Consider the directory structure above. You are connected to the directory mail. Write complete commands to move between the directories as indicated below:
Moving from mail to work
Moving from work to old
Moving form old to mail
You need to create a file named signature and put your name in it. What Linux commands could you use to do this?
On the left is a set of commands used to map a directory structure. Draw the structure on the right. Don't forget to label the root of the structure.
$ cd class
$ ls -F
dir1/ dir2/ projects
$ cd dir1
$ ls -F
recipes/ work/
$ cd work
$ ls -F
resume/
$ cd resume
$ ls -F
old
$ cd ../../recipes
$ ls -F
cookies stew
$ cd ../../
$ ls -F
dir1/ dir2/ projects
$ cd dir2
$ ls -F
recipes/
$ cd recipes
$ ls -F
recipes/ toast
$ cd ../
$ ls -F
recipes/
$ cd recipes
$ ls -F
recipes/ toast
$ cd recipes
$ ls -F
stew
$ cd ../../..
$ ls -F
dir1/ dir2/ projects
$
Submit the first two answers on Canvas as a normal text (.txt) file using your preferred Linux text editor.
If you find something particularly interesting, please include that in your homework submission as a comment. I may ask you to share your insights at the beginning of class for participation points.
Feel free to ask questions in your comments that I may not have had the chance to go over in class.