[TriLUG] Dumb Question: Terminal Beep Command
brian at strutmasters.com
Tue Feb 15 16:23:43 EST 2005
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.
Ooh, here we go: From the bash manpage: $'\a' results in an alert, or
bell. So my question becomes, is there a preexisting shell command that
will accomplish "echo $'\a'" in less than half the number of keystrokes,
and doesn't result in a line-feed in the terminal?
More information about the TriLUG