Monday 26 November 2012

Trap, thread and monitor

I just want to dump three great resources for bash hacking. First of all a list with some handy resources. Second if about making your script aware of the ctrl-z combo and third a bash script that spawns a couple of threads.

1. http://bash.cyberciti.biz/shell/monitoring/
2. http://hacktux.com/bash/control/c
3. http://blog.apokalyptik.com/2008/12/11/using-wait-and-for-threading-in-bash/

It certainly helped me monitoring some disc space usage during an installation.