CIS 210 Homework Assignment #7

Due: Friday, Apr 18, 2008 by 5PM

Name:
Email:

NOTE: To copy and paste in the Unix environment the following may be used:

  1. What are the file types for the following files located in /mnt/homes/CLASSES/MET489/lab07: (0.2 pts each)
    1. fetch.log.4.bz2
    2. photo.jpg
    3. cp
    4. cmd.exe
    5. kdrive.bat
    6. rdss.tar
    7. rc.4
    8. gwenview-1.2.0-i486-1mht.tgz
    9. unzip.exe
    10. mailer.pl
  2. What is the location (absolute path) for the command garp? (1 pt)
  3. What command would you use to display the contents of the file /mnt/homes/CLASSES/MET489/lab07/output.dat to the screen? Show the command used and its output below: (1 pt)
  4. Show the first four lines of the file /mnt/homes/CLASSES/MET489/lab07/df.out along with the command used to create this output below: (1 pt)
  5. Show the last seven lines of the file /mnt/homes/CLASSES/MET489/lab07/hosts.dat along with the command used to create this output below: (1 pt)
  6. Copy the file /mnt/homes/CLASSES/MET489/lab07/list.data to your unix_class directory as piggy.dat. Do this all in one line. Show the command you used to do this below: (1 pt)
  7. Copy the directory /mnt/homes/CLASSES/MET489/lab07/Voom and its contents to your unix_class directory. Show the command you used to do this and a long listing of the contents of the copied directory below: (1 pt)
  8. Copy all files ending in ".jpg" from /mnt/homes/CLASSES/MET489/lab07/ to a new directory unix_class/pictures. Show the command below along with a listing of all the files in the pictures directory. (2 pt)

last updated: 16 Apr 2008 15:00