4.13 Internet4 Labs4.11 4.12 Menu shell script

4.12 Menu shell script

Make a printout of your menu program's output. To do this use the tee command.
menuscript | tee file-to-print-name
tee makes a copy of the standard input to a file and also sends the standard input to the standard output. Print out your run results and a copy of your shell script, then mark the "C" or tcsh shell version with:
your name 
TABER CSC137
Lab 4.12: C or tcsh Shell Menu Program
and the Bourne or bash shell version with:
your name  
TABER CSC137
Lab 4.12: Bourne or Bash Shell Menu Program 

Remember to answer the question about if you could run your shell script within your shell script. Place the lab in the instructor hand-in box in BUS R6E, the "terminal room".


Instructor: ltaber@pima.edu** My new Home on phRed** The Pima College Site** The Mad Dr. G.'s home page on phred.

4.13 Internet4 Labs4.11 4.12 Menu shell script