Charles Hooper

Thoughts and projects from an infrastructure engineer

Hsleep: `sleep` With a Countdown

Today I’m open sourcing hsleep. hsleep is a utility which behaves just like GNU sleep(1) in coreutils – and its BSD counterpart – with the addition of a countdown timer which is emitted to standard error.

hsleep counting down

I wrote hsleep because I sometimes find myself needing to delay commands for a few minutes and I couldn’t stand not knowing how much time is left!

hsleep is available on github or – if you have go installed – can be installed with:

go install