My scrapbook about anything which I learned or want to remember, Sometime about tech tips, thoughts and rambling. If you find anything useful don't forget to give thumbs-up :)

Breaking

Saturday, August 22, 2015

Linux Shell Script Scenario - 1




Write a Shell Script to read a parameter file and run the other script with these parameters.




Parameter File :

Script_Name = 'script.ksh'
Arg1       = 13
Arg2       = 36 


Now, Read this parameter file and kick off the command like below -

./script.ksh 13 36


For more scenario -  CLICK HERE



No comments:

Post a Comment

Disclaimer

The postings on this site are my own and don't necessarily represent IBM's or other companies positions, strategies or opinions. All content provided on this blog is for informational purposes and knowledge sharing only.
The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of his information.