The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM



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

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
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)