Debug mode for running scripts?

Nils Kassube kassube at gmx.net
Sat Jun 9 12:53:54 UTC 2007


Jan Sneep wrote:
> Is there some way to run a script in a step-by-step way to see how far
> the script goes before it runs into an error? Something like a verbose
> step-by-step option of some kind?

If you include

set -o verbose

to the script it will print every command before execution to standard 
output.


Nils




More information about the ubuntu-users mailing list