CS 141 Homework Assignment #6

In this homework, I show you the exact commands to type. Just follow the instructions.

your task what to type
Display the directory structure of /classes/s2007spr/data using relative pathnames
cd /classes/s2007spr/data
find . -type d
Display the directory structure of /classes/s2007spr/data using absolute pathnames
find /classes/s2007spr/data -type d
Save the directory structure of /classes/s2007spr/data using relative pathnames into /tmp/xxx where xxx is your 3 char login
cd /classes/s2007spr/data
find . -type d > /tmp/xxx
Next append the directory structure of /classes/s2007spr/data using abs pathnames onto the end of /tmp/xxx
find /classes/s2007spr/data -type d >> /tmp/xxx
Now view your file to make sure it contains both sets of output.
vi /tmp/xxx
While still in vi, Add your 3 char login as a new line at the top of the file /tmp/xxx
1G
ixxxENTER ESC
:wq
Print out your file and give it to the instructor in class
lp -d p215 /tmp/xxx