Prev Up Next
Go backward to 4.10 "C" Programming Language
Go up to 4 Labs
Go forward to 4.12 Internet

4.11 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.11: C or tcsh Shell Menu Program
and the Bourne or bash shell version with:
your name  
TABER CSC137
Lab 4.11: 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** Red's Home page** The Pima College Site

Prev Up Next