[GLLUG] Bash Beep
Jo Dillon
jo at groupinfo.com
Tue Jul 22 11:13:01 EDT 2003
On Tue, Jul 22, 2003 at 09:46:46AM -0400, Brian Hoort wrote:
> While we're on to scripting -- I've wanted to be able to beep an audible
> sound at the completion of one of my scripts for a long time, and cannot
> find a way in my bash book. Any of you know how?
I always use:
echo -e '\a'
(-e means interpret escape sequences, \a is alert, aka the system
speaker bell sound)
Alternatively, cat foo.au > /dev/audio if you have sound hardware and
want something fancier ;)
--
Jo
More information about the linux-user
mailing list