skip to main | skip to sidebar

Programming Tips

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
Posted by Ilyia Kaushansky at 6:52 PM No comments:
Labels: bash unix linux
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ►  2009 (1)
    • ►  May (1)
  • ▼  2007 (7)
    • ▼  May (1)
      • Outputing to console every command of a bash script
    • ►  April (2)
    • ►  February (2)
    • ►  January (2)
  • ►  2006 (3)
    • ►  December (2)
    • ►  November (1)

Links

  • My Blog
  • Google News

About Me

Ilyia Kaushansky
View my complete profile