Results 1 to 3 of 3
Hello,
I have a few tasks that I preform daily which at the moment are commands and such that I type in and look at the output.
What I want ...
- 01-07-2010 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 38
Create Terminal Program
Hello,
I have a few tasks that I preform daily which at the moment are commands and such that I type in and look at the output.
What I want to do, which I have done on AIX but never on a Linux platform is create an script which all it does is display something like:
1. Type option 1 for x
2. Type option 2 for z
etc.
What I did in the AIX version of my script was create multiple scripts which were called from the options and display the results that way. I also had functions which placed banners and error messages etc etc.
Is there a good way of doing this in Linux (or a different way)?
- 01-07-2010 #2Linux Newbie
- Join Date
- Nov 2007
- Location
- Planet Earth
- Posts
- 152
Assuming you're using bash:
Testing and Branching
and of course, you can split in several subscripts, even functions...EOF
- 01-07-2010 #3Just Joined!
- Join Date
- Jan 2007
- Posts
- 38


Reply With Quote
