30 Mar 2014 shlomif   » (Master)

Tech Tip: add a notification (or any other command) after a command-line task has ended

I discovered that one can add a notification after a command you've already
started running has ended on a UNIX system by suspending the command
using “Ctrl + Z” and then typing something like
“fg ; n --msg 'Command finished'” (where “n” is the command I use for
notifications). “fg” brings a job to the foreground, and for more information
about it see
its wikipedia
and the Unix Background Jobs entry on thegeekstuff.com.


You can reuse this entry under
the Creative Commons
Attribution 3.0 Unported
licence, or at your option any later version.
See the
of how to comply with it.

Syndicated 2014-03-30 15:33:49 from shlomif

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!