How to debug shell scripts
Posted on: 12/16/2010 11:09 AM

Go2Linux posted a guide about debugging shell scripts

How to debug shell scripts


Debugging is an important part of programming in any language, and so it is the same for Bash, one of the most easy way to debug is to run the program line by line.
This way you can check what is happening with each line, and you can then find where is the error.



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/how_to_debug_shell_scripts.html)