I'm using some Bash scripts under Linux that require some time to complete; I'd like to add at the end of them a command to ring the system bell when those tasks are done, so I can be notified.
What's the proper command to do that? (please note that what I need is to be notified, with a sound and possibly with a message, so I can accept any solution in these regards).
( speaker-test -t sine -f 440 )& pid=$! ; sleep 0.4s ; kill -9 $pid
requires ALSA installed. Always from one of that answers