Hi There-
I am just learning how to do UNIX/Linux work and I have been charged with trying to write a script to automate a couple of processes.
The series of commands is as such.
script 1:
open shell
cd /w/config
rm mgd_stage
ln -s mgd_stage_normal mgd_stage
"perform TPS reset"
---------------------------
script 2:
open shell
cd /w/config
rm mgd_stage
ln -s mgd_stage_horse mgd_stage
perform a "TPS reset"
I know how to do this normally, but would like to be able to just type in a command at the prompt, ie: stage_normal or stage_horse so that the user doens't have to go through all of that work each time...
Anyone out there willing to walk me through this process would be GREATLY appreciated.
Kind Regards,
DECronk