This question already has an answer here:
I want to be noticed after a command has finished its execution. And I was thinking that if I hear a sound is a good idea.
For example, because I have a slow internet connection, the following command take long time to execute:
sudo apt-get update && sudo apt-get upgrade
So I let the terminal to run in background running the above command, but I want to hear a sound when it finished.