<<<<<< TIME POSE SUBROUTINE >>>>>>>>>

PAUSE

If they want to quit, do so
    <<<<<< REVIEW CLEANING SUBROUTINE >>>>>>

ENCORE

 <<<<<<<< PROMPT TEXT / BOX AREA CLEANING ROUTINE >>>>>>>>>>>>>>>>>

BOX

                      LESSON REVIEW                    


QPR1

          $ cd ~/A ; pwd > dir_list ; ls -l >> dir_list  
1.  Which of the following is NOT equivalent to the above command line?
a   $ cat list_it                 b   $ cat list_it       
     cd ~/A                            cd ~/A
     pwd > dir_list                    pwd > dir_list
     ls -l >> dir_list                 ls -l >> dir_list
     $ sh list_it                      $ chmod 700 list_it
                                      $ list_it
c   $ cat list_it
     cd ~/A ; pwd > dir_list ; ls -l >> dir_list
     $ csh list_it
d   they are all equivalent

QPR2

2.  The command to delete all files whose names begin with 
any letter followed by ver and end with anything else
is ________________.

QPR3

3.  If you enter the command line  vi letter_?den* , which
of the following files will NOT be called into the editor?

                 a   letter_eden
                 b   letter_Eden
                 c   letter_hayden
                 d   letter__dentist
                 e   letter_identity

QPR4

4.  Enter the command that will list all files whose 
names begin with new and end with date, and save the 
list in the file new_dates.

QPR5

5.  Enter the Bourne Shell command to set the PATH variable 
to /a/john followed by /bin then /usr/bin. 

          (Hint: The syntax is ____=____:____:____)

QPR6

6.  Enter either a Bourne Shell or C Shell command to set 
a variable called tennis to marta hans.  (Hint: Remember,
if a string contains spaces, you must surround it with 
single quotes.)

QPR7

7.  Remember, the read-only variable for checking the exit
status of the preceding command is $?.  Please fill in the 
expression for checking the exit status of the last command 
in the conditional shell script below:

                 if        then
                    echo OK
                 else
                    echo Fail
                 fi

QPR8

8.             who > users                         
                (while true
                do
                    read name
                    if test $name = "john"
                        amount = $amount + 1
                        echo $amount > payment
                    fi
                                         
                done) < users
Input for the mail command can come from the standard input or can be
redirected from a file.  Please fill in the line in the above Bourne
shell script to mail the contents of the file payment to the user john.
 ------------ UNIVERSAL REVIEW - INTERACTION ROUTINE -----------------

RINTER

 ______________________________________________________________________________
 $PRMT_STR$
 That is correct!                                                  
 You've got it on the 2nd try.                                     
 Good, you understand the concept.                                 
$F_DIAG_L1$
$F_DIAG_L2$
$F_DIAG_L3$
$S_DIAG_L1$
$S_DIAG_L2$
$S_DIAG_L3$
 $REV_STR1$
 $REV_STR2$

FORGET1

The correct answer is:  $ANSWER$ 

GO

 ------------ first QUESTION ---------------------
C: S_DIAG_L1$ =: No, think about it and try once more.        
C: S_DIAG_L1$ =: No, reread the question and try again.
 ------------ second QUESTION ---------------------
 ------------ third QUESTION ---------------------
 ------------ fourth QUESTION ---------------------
 ------------ fifth QUESTION ---------------------
 ------------ sixth QUESTION ---------------------
 ------------ seventh QUESTION ---------------------
 ------------ eighth QUESTION ---------------------