Sponsored Content
Full Discussion: Is it possible to do this
Top Forums Shell Programming and Scripting Is it possible to do this Post 68576 by vino on Tuesday 5th of April 2005 12:26:59 PM
Old 04-05-2005
Say your scripts are script1.sh and script2.sh

Calling can done in this way.

Inside script1.sh, you should have the lines:

Code:
sh script2.sh

This assumes you run on /bin/sh.

The rest of script1.sh will run after script2.sh is done.

Cheers,
vino
 
All times are GMT -4. The time now is 10:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy