Get the computer to beep when a command prompts for input or is done



Sometimes it would be handy, for commands that take a long time to run, to get my attention / let me know when they are done, or when they prompt me to do something, by making a sound. Is there any way to do this?


Hi. I haven’t used it myself, but I think you can configure x11 bell and use special bell character \a in terminal. Maybe add it to alias or to prompt.