Tuesday, May 22, 2007

Outputing to console every command of a bash script

To make bash output every executed command of a script to console, prefix the script with the following line:

#!/bin/bash -v

No comments: