Here is the list of all the Bash debugging posts: Verbose Output Using exit command Using echo command Using ShellCheck Jummping Forward The exit command will allow you to halt a script without executing everything after the exit command. If you want to do the opposite and skip some of the script there is no builtin command to do this. This is useful for debugging so that you can work only on the problem section without re-executing a prior portion of the scrip.