How to Debug a Shell Script July 6th, 2014 One of the most common questions asked by a new sysadmin or UNIX user is: How to debug a shell script?