Wednesday, October 29, 2014

Get terminal to speak after finished a long processing command on OSX

Just append
 && say "Done"

For example;
 $ sleep 10 && say "Done"

This trick could be useful if you are running some tasks and want switch to work on something else while it's running but also want to get back to it immediately after it finished.

Source: How to make the hardware beep sound in Mac OS X 10.6


No comments:

Clojure how to get JVM options from inside application

(.getInputArguments (java.lang.management.ManagementFactory/getRuntimeMXBean)) Credit:  How to get vm arguments from inside of java applic...