CIS 210 Homework Assignment #3

Due: Friday, Mar 28, 2008 by 3PM

Name:
Email:

NOTE: To copy and paste in the Unix environment the following may be used:
  1. Explain what a file system is (in your own words)(1pt).

  2. For the directory /software/weather on your system (2pts):
    1. Who owns the directory?
    2. When was this directory last modified?

  3. Explain the difference between an absolute path and a relative path. Give an example for each.(2pts)

  4. After you type the command "cd" with no argument into a shell tool, which directory will you be in?(1pt)

  5. What command would you use to change the working directory of your shell to the mcidas subdirectory in your home directory?(1pt)

  6. Change directory to /mnt/data/xcd for the following questions:
    (2pts)
    • Show the command and option for the long listing of the oldest file in this directory.
    • What is the group for the file RAOB.RAP?
    • Who owns the file IDXALIAS.DAT?
    • How large (in kilobytes) is the file SCHEMA?
    • What year was the file GFSMOS.RAP last modified?
    • Show the command and option to output a long listing of the largest file in this directory.

  7. What command sequence would you use to set the "BURKE_MTN" environmental variable (env) to "/us/vt/caledonia/burke/mtns/".(1pt) Hint: Look at lab #2.

last updated: 26 Mar 2008 15:32