unix script debug

Raju asks:

How can I Debug a shell scripts?

This is most common question asked by new admins or UNIX user.

Shell scripting debugging can be boring job (read as not easy). There are various ways to debug a shell script.

{ Comments on this FAQ are closed. If you'd like to continue the discussion on this topic, you can do so at our forum. }