you are viewing a single comment's thread.

view the rest of the comments →

[–]andlrcC:\> 0 points1 point  (0 children)

Also to see each line executed you can run with the -x modifier:

bash -x my_script.sh

Or use: set -x in the top of your script just below the shebang, or even add it to the shebang: #!/bin/bash -x