First page
Back
Continue
Last page
Overview
Shell script debugging
In order to debug a shell script invoke the shell interpreter with debug options or change the shebang to include the debug options
bash -x
scriptname
bash -v
scriptname
#!/bin/bash -x
#!/bin/bash -v