Post thumbnail of Looping over a range in bash
7 April 2009
Continue reading Looping over a range in bash

Looping over a range in bash

I don’t know why I always forget how to do ranges, but I do. I guess it has something to do with the fact that I don’t expect it to be like C at all, and I don’t need to use it often enough to remember.

Post thumbnail of How to start or stop a process that’s slow to respond
18 November 2008
Continue reading How to start or stop a process that’s slow to respond

How to start or stop a process that’s slow to respond

Got a process that you want to restart in a script but it doesn’t respond nicely?  Use the sleep command in your script and check its status after you start, stop, or kill it.  After incrementally backing off a few times, waiting longer and longer, I give up and exit …

Powered by Wordpress   |   Lunated designed by ZenVerse