CIS 210 Homework Assignment #13

Due: Wed, May 7, 2008 by 2PM

Name:
Email:

NOTE: To copy and paste in the Unix environment the following may be used:
  1. What command would you use to print a file named "swirl.ps" to the printer hp5si in the annex?(1pt)

  2. What commands (in one sequence)would you use to print the usernames of the last 8 users to log into your machine on the printer djcolor?(2pts)

  3. Copy the file /mnt/homes/CLASSES/MET489/lab13/raw.data into your unix_class directory. Use the compress to compress the file raw.data. What is the file size before and after the compression? Decompress the file once you have completed this question.(2pts)
  4. Use the gzip to compress the file raw.data used in the previous question. What is the file size (Kilobytes) before and after the compression? (2pts)
  5. Create a tar archive of the directory /mnt/homes/CLASSES/MET489/lab13 and place the tar archive in your unix_class directory. Show the command you used and the output of a long listing of the newly created archive file. Delete this file when you're done with this question. (2pts)
  6. Show a listing of the contents of this directory: /mnt/homes/CLASSES/MET489/lab13/ (1pt)

Be sure to print out a copy of your answers when completed.

last updated: 05 May 2008 18:56