Debugging

Checking the syntax of a script with -n

Debugging usigh bashdb

Debugging a bash script with -x