CS 1206: Assignment 1

Due Tuesday, July 13, 1999 by 5pm

100 pts


Figuring Out What and Where Files Are

Your assignment is to collect the following information about the files listed below: The ten files (each of which is a command) you must gather information on are:
  1. csh
  2. pkg_add
  3. X
  4. xman
  5. grep
  6. tar
  7. crontab
  8. find
  9. nohup
  10. time
While looking for files, please use the FreeBSD machines in McBryde 116/118. Since not all files are located in the same place on different versions of Unix (indeed, some files may not be on some machines at all!), this will ensure that all students use a consistent environment when answering the questions. You're welcome to do preliminary exploration on any machine you want (even dialed into one of the DEC Alphas from home), but you must double-check your answers on the FreeBSD machines in 116/118 before turning them in. To do this from your home machine running Windows, follow this procedure:
  1. Click on the Start button on the bottom left hand of your screen
  2. Select "Run" from the popup menu
  3. Type in "telnet machinename.cslab.vt.edu" where machinename is replaced by the names of one of the FreeBSD machines: pecan, acorn, almond or chestnut.

Finding Information

In searching for information about the commands listed above, you might find using the following resources helpful: You may not ask other students, lab consultants, your lab partner, or anyone else other than the instructor or your TA for information about the ten files listed above. You're welcome to discuss general information about how to use commands like "which", "find", "whatis", and the other resources listed in this section of the assignment with other people including your lab partner, however.

Submitting Your Answers

You are to hand in your assignment by sending an email message to the address cs1206@ei.cs.vt.edu. To receive credit, your mail message must be received by this account by the time and date listed above. It is your responsibility to successfully submit your assignment via email (remember that you will receive an auto-reply by the system when your message has been received successfully). Also, send yourself a copy for future reference. The messsage must be a plain ASCII text file, with no attachments, and in exactly the format defined below. Do not insert any extra notes or explanations.

The mail message must be a plain ASCII text file that contains the following:

An example of a valid submission is:
Subject: HW 1
mfali
Farooq Ali
111-22-3333

1. /usr/ucb/vi
Full-screen text editor
vi is a full-screen text editor built upon the command-line editor
ex.  vi is designed to optimize keystrokes, and has very powerful
pattern matching capabilities. It is a mode, rather than WYSIWYG, editor.

2. etc.