I right my share of shell scripts, and I know how to check for the status of one command and terminate the script. I was wondering if there is a an option to bash to have it quit the script automatically when a command returns a non-zero status. It would make some scripts much cleaner. David