[CentOS] shell script question

Jerry Geis

geisj at pagestation.com
Thu Mar 13 15:04:23 UTC 2008


hi all,

If I have a shell script on 5.1 that has 2 commands in the script...

command1
command2

and command1 runs until it is kill'ed by some other process. Sometimes 
command2 runs and sometimes it
doesnt (this is what it seems like).

How can I be ensured that command2 will always run after command1 is 
killed? The script is not killed
just command1.

Thanks,

jerry



More information about the CentOS mailing list