28 March, 2009

Scripting System Beep

Sometimes you want to incorporate an audible cue in your script that something is happening, or an indication that a manual effort is required. Cue system beep:

in Bash,

echo -e "\007"


echo -e "\a"

will do the trick, just make sure the system beep is enabled and not set to a visual cue.

No comments: