NEW BRUNSWICK COMPUTING SERVICES
USER SERVICES GROUP

Getting Started With The UNIX Operating System
Exercise 4

Learning the File System

After completing the practice, you will be able to use absolute and relative path names, examine directories, and navigate the file system.

  1. Return to your home directory. What command will do this?


  2. What is the absolute path to your home directory? What command displays this?


  3. Issue the command

    cd ~/UNXclass/NoWrite

    to go to the NoWrite subdirectory. From here, what are two ways to specify the file named "big.file" in the directory "UNXclass" (the parent of NoWrite) so that the command more can display that file?
    more more

  4. From within the NoWrite subdirectory delete the files "apple", "banana", and "cherry" that are in the UNXclass directory (the parent of NoWrite). What is one way to do this?


  5. Use "cd" to go to the UNXclass directory (the parent of where you should now be). What command did you use?


  6. EXTRA: Can you think of another way to "cd" from "NoWrite" to "UNXclass"?


  7. Create three new directories in the UNXclass directory: "Letters", "Programs", and "Misc". What command(s) did you use?


  8. Delete the directory "RemoveMe" and all its contents. What command(s) did you use?


  9. EXTRA: There is more than one way to do the above. Can you name another way to do it?


After attempting the above look here for answers

End of Practice 4 - Learning the File System