CIS 2101 Homework Assignment #3

Due: Friday, Mar 27, 2009 by 9PM

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 file /software/weather/README on your system (2pts):
    1. Who owns the file?
    2. When was this file 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:
    (1 pt. each)
    • Show the command and option for the long listing of the directory sorted so that the oldest file is at the end of the output.
    • 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 directory, sorted so that the file with the most recent date is at the end of the output.

  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: 25 Mar 2009 19:51