Linux shell script: set -e and set -x
Enable checking of all commands. The execution of shell script will be aborted if one command returns non-zero status code. Examples:
# true; echo $?
0
# false; echo $?
1
Trace the execution of all commands, it makes the interpreter print each commands in terminal before it is executed. Useful for debugging your shell script.
Turn off debian frontend so no prompt during installation