author avatar

yuva

Tue Apr 10 2018

set -x is very useful while writing shell scripts. It echos commands being run (even in for loops) which helps in debugging. Put this at the top of script file, and see the magic!