Hello all,
On Monday (January 6th), Haifux will re-run its good old Schlager "Quick
and Dirty Bash". Anyone who wants to get a better grip on one-liners in
bash and some basic scripting, this is the place and time.
The slides are available at
http://www.haifux.org/lectures/100-sil
This is an
A new trick I learned since the previous round (as far as I remember):
jobs -x command which takes pid % will pass the job's pid to the command,
e.g.
$ long running command
[1] 52282
$ jobs -x watch pstree -pall %
Will pass 52282 to pstree.
You can stick any background job reference instead