Quiz 2: Help and Pipes.


Answer the questions below. When you are satisfied with all your answers, press the Send button below to transmit your answers. At any time before that, you can change your responses.


Type your name:

Type in your CS login account name (not sunlab login account):

Type in your preferred email address:

Question 1: The standard input file must always be the keyboard (true or false)

Question 2: Write a single command to create a line-numbered copy of the file: 'prog.c' in the file: 'progLN.c'

Question 3: How would you rewrite the command 'cat myFile' so that the output was sent to a file named 'temp'?

Question 4: Pipes can be used to send the output of one user-written program as input to another user-written program (true or false).

Question 5: Write a command to find out about any existing sort utilities.

Question 6: Suppose the output of the man -k delete command contains too many lines to be able to view on a single screen. Re-write the command to be able to better view the output.

Question 7: What is the result of using the finger command without any parameters?