Here is the list of all the Bash debugging posts: Verbose Output Using exit command Using echo command Using ShellCheck Jummping Forward When you run a Bash script it will only usually print the output of the commands that you execute. This is fine until you need to figure out why it isn’t doing what you want. Bash comes with a couple of options that will show you exactly what is being run and also print out the lines of the script in the order of the execution output, including comments.