Showing posts with label system beep. Show all posts
Showing posts with label system beep. Show all posts

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"

or

echo -e "\a"


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