[CentOS] shell script question
Marcelo Roccasalva
marcelo-centos at irrigacion.gov.arSun Mar 16 12:22:40 UTC 2008
- Previous message: [CentOS] shell script question
- Next message: [CentOS] Package request: OpenJDK 1.6 packages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Mar 13, 2008 at 12:04 PM, Jerry Geis <geisj at pagestation.com> wrote: > 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. if command1;then true;fi command2 -- Marcelo "¿No será acaso que ésta vida moderna está teniendo más de moderna que de vida?" (Mafalda)
- Previous message: [CentOS] shell script question
- Next message: [CentOS] Package request: OpenJDK 1.6 packages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list