The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-20-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
  
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
How can debug our UNIX shell script?

"The most effective debugging tool is still careful thought, coupled with judiciously placed print statements." -- Brian W. Kernighan

Your question is really too broad to answer in this medium. Read a book or two. http://cm.bell-labs.com/cm/cs/tpop/debugging.html by Kernighan & Pike would be among my reading suggestions. (Not responding right now. Here's Google's cached copy: From Chapter 5, Debugging)