https://www.cyberciti.biz/tips/debugging-shell-script.html
Shell scripting debugging can be a tedious job (read as not easy). There are various ways to debug a shell script.
Read this article see how to debug a bash script running on Linux and Unix using various methods.
2 Comments
Tomi Engdahl says:
Bash Find out the exit codes of all piped commands
https://www.cyberciti.biz/faq/unix-linux-bash-find-out-the-exit-codes-of-all-piped-commands/
Tomi Engdahl says:
How do I check my bash version?
https://www.cyberciti.biz/faq/how-do-i-check-my-bash-version/