i am developing some software with a significant build time, so i want to execute the build command and play a noise once it is finished. two questions:
- how do i make some noise from the command line (Redhat Enterprise Linux 5)?
- i am doing the build on a remote machine, so is there something like X11 forwarding for sound that will play the noise on my machine?
if #2 isn't possible/easy i guess i could just execute the build command on the remote machine and play the noise locally. thanks for the help.
You can echo the
BEL
character, perhaps multiple times, from your build script.For example:
The above example will print the
BEL
character 3 times. Thus, the PC speaker should emit 3 beeps.What about printing the BEL character (0x07)? It should make a ping!/beep! on the terminal.