[TriLUG] Dumb Question: Terminal Beep Command

Matt Frye mattfrye at gmail.com
Wed Feb 16 16:13:25 EST 2005


On Tue, 15 Feb 2005 16:23:43 -0500, Brian Henning
<brian at strutmasters.com> wrote:
> Hi Guys,
>    Back in the days of DOS, there was a really cool shell command,
> "BEEP."  Amazingly, execution of said command caused a terminal beep.  I
> am looking for exactly that function in a bash shell, but for some
> reason it is eluding me.

I regularly use 

printf "\\a"

in bash scripts, which produces "alert" aka BEL aka whatever.  

MPF



More information about the TriLUG mailing list