bash debug mode

在 Gentoo Weekly Newsletter: 7 May 2007 看到的小技巧

  • Running a bash command in debug mode
$ bash -x sample_cron_job
+ /bin/echo 'Hello World!'
Hello World!
Tags// , ,
More Reading
Newer// PHP ssmtp gmail