I would like to always receive a visual notification when a process has finished in a terminal window. Example of such a process:
youtube-dl -cit --extract-audio --audio-format mp3 https://www.youtube.com/....
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
yourlongrunningcommand ; notify-send "Yay! We're done! Off to the bar!"
To understand the command:
;denoted sequential execution. First execute
yourlongrunningcommandand when done, execute the next command... which is
notify-send, which is nothing more than the type of notification you wanted as per our comment exchange
I just googled to know that second part. I found this on askubuntu.com.