Exercise 31: P.A.R. Inc.


You have been hired by P.A.R. to help create proprietary shell scripts for applications that they market. Your first assignment is to create the beginning routine for a shell script name INCRMT, and set permissions that enable it to execute from the command line. Create the file within your home directory.

The script is to count backward from any number provided at the command line to 1, and print that number. For example, if a user gives the command

 INCRMT 6 

the display should be:

 6 5 4 3 2 1 

NOTES

_______________________________________________________________

_______________________________________________________________

_______________________________________________________________

_______________________________________________________________

_______________________________________________________________

_______________________________________________________________

_______________________________________________________________

_______________________________________________________________

_______________________________________________________________

_______________________________________________________________

_______________________________________________________________

_______________________________________________________________

_______________________________________________________________

_______________________________________________________________

_______________________________________________________________



NovellR Linux Certification Practium Lab Manual
NovellR Linux Certification Practium Lab Manual
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 192

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net