Debug Shell Scripts

To debug a script try running “sh -v scriptname”
To see commands and comments as the script runs or “sh -x scriptname”
To see the commands only.

Thanks to J. Kent Busbee on the nolug
mailing list for this quickie.


No Responses to “Debug Shell Scripts”  

  1. No Comments

Leave a Reply



Scott Harney

   (GPG key)
<>

Resume


An online copy of my resume. This resume is suitable for printing but also contains clickable links providing more detail. Just mouse over the bullet items.

Photo Album


My current pictures via Flickr.
Older family pictures.

    Wedding


    I got married on 9/4/2004. So click for details, already.

    Old stuff


    Links and writings from older versions of this site
    Old stuff
    Oldest stuff

    Free DNS