[Gllug] Help with Script.

Richard W.M. Jones rich at annexia.org
Wed Jan 12 22:04:51 UTC 2011

On Mon, Jan 10, 2011 at 03:57:02PM +0000, Martin N Stevens wrote:
> #!/bin/bash -x
> Now that is really handy, thanks.

Equivalently you can add:

  set -x

near the beginning of the script.

  set -e

(exit on any error) can also be useful.


Richard Jones
Red Hat
Gllug mailing list  -  Gllug at gllug.org.uk

More information about the GLLUG mailing list