SeanColombo.com


Quick Tip: Beep when a long process is complete over SSH

Posted in Programming by Sean on the July 5th, 2008

When you’re running a long command on a terminal over SSH, you may end up wasting a great deal of time checking back repeatedly to see if the process is complete. A quick alternative would be to make the shell beep when it’s complete. Assuming you are running a script called “longScript.sh”, then simply typing a line like:
> longScript.sh; printf \\a
Will cause most SSH clients to beep after longScript.sh is finished running.

Hope that helps!

Leave a Reply