On Sun, 26 Nov 2000, Vikrant Dhawale wrote: > Is there any tool available for debugging a shell script, > where you can trace statements one by one etc. and other facilities for > effective debugging of scripts. export PS4='+${0##*/} line $LINENO: ' Change the 1st line, from: #!/bin/bash to #!/bin/bash -xv