[ILUG] Bash

Brendan Halpin brendan.halpin at ul.ie
Mon Jan 21 17:43:51 GMT 2002


Simple scripting question:

With a bash script that runs a simple series of commands, how do I
make it crash out if any one command fails, without filling it with
conditionals?

Pardon the ignorance, but I shell script too infrequently to
accumulate knowledge.

Brendan

-- 
Brendan Halpin, Dept of Government and Society, Limerick University, Ireland
Tel: w +353-61-213147; f +353-61-202569; h +353-61-385276; Room S1-03 x 3147
<mailto:brendan.halpin at ul.ie>        <http://wivenhoe.staff8.ul.ie/~brendan>




More information about the ILUG mailing list