CTS 1106 (Intro to Unix/Linux) Project #2
Using Man Pages and Other Resources

 

Due: by the start of class on the date shown on the syllabus

Description:

Using the man pages, info pages, and other sources of on-line and Internet information is a vital skill, needed by all users.  In this project you will need to find, read, and understand these source of information in order to answer the following questions.  Not all of the answers will be found in the man pages, but all may be found there or in other resources discussed in class.  Be sure to allow yourself plenty of time to complete this project; it usually takes longer than most students expect!

For full credit you must give an exact answer: a specific man page (including section number) if the question can be answered by a man page; an info page name if the question can't be answered by a man page but can be answered by an info page; or a working URL to a web page containing the answer otherwise.  (While you could use Google to find the answers to all these questions (because man pages are on-line), not using man and info pages when the question can be answered that way will lose you credit.)

Since man pages differ between different Unix and Linux systems, you must use the man and info pages on YborStudent to complete this assignment.  (I have verified that each question that can be answered with man or info pages can be answered on YborStudent.)  However, remember that not all questions can be answered with man or info pages!

Questions:

  1. What should the command cat foo – bar do?  (Don't try to run it, just figure it out from the on-line documentation.)
  2. What option(s) would you use to sort a file named foo in place, that is replacing the original file with the sorted version?
  3. A jiffy is a unit of time on Linux systems.  What man page describes a jiffy?
  4. What is the official (and historical) name of the fifth field of entries in the /etc/passwd file?
  5. What three options to the Gnu date command can be used to display the current date and time in Coordinated Universal Time?
  6. The recode command can convert text and other files in any of about 280 formats (or charsets) to another.  For example you can convert between Unix and DOS text files this way:
    recode ..dos file   # Convert Unix text file to DOS format
    recode dos.. file   # Convert DOS text file to Unix (ASCII) format

    How can the recode command be used to count each of the characters used in a file?  (Hint:  Check for an appropriate charset.)

  7. How many bytes is one kibi byte?  What man page describes this and other SI (International Standard) standard prefixes and units?

    All IT professionals should know standard units.  If you don't know what these are be sure to look them up:  A bit is one binary digit and a byte or octet is eight bits.  Bits are denoted as b or bit, while bytes are denoted as B.  A kilo means 1,000 (a thousand) and is denoted as k, a mega means 1,000,000 (a million) and is denoted as M, and a giga means 1,000,000,000 (a billion) and is denoted as G.  So kb or kbit means a thousand bits, MB means a million bytes, etc.  KiB means 1 kibi byte. 

  8. What is the pathname (the directory and file name) of the configuration file used for the DHCP client (not the server!) on YborStudent?  (This question refers to the IPv4 client, not the IPv6 client.)
  9. Where can you find the answer to the following question: How do you get the NUMLOCK key to default to on for the GUI console?
  10. What is the name for a user's gv resource file?  (gv is a Gnu utility to view PostScript files.)

To be turned in:

Email your assignment by copy-and-paste (no attachments please!) to .  If possible use the text and not the HTML mode of your email program.  Please use the subject similar to Intro to Unix/Linux Project #2 (Using man) Submisison, so I can tell which emails are submitted projects.

Projects will not be returned.  Please do not send as attachments.  Do not send to wpollock@YborStudent.hccfl.edu.  Refer to the Projects and the Submitting Assignments sections of your syllabus for more information.

Confused?  Send questions about the assignment to .  Please use a subject similar to Intro to Unix/Linux Project #2 (Using man) Question so I can tell which emails are questions about the assignment (and not submissions).