Dear fellow command line nerds: Is there an alternative to wait(1) or sleep(1) that takes minutes/hours/days as arguments?
e.g. “sleepwell 8h” for 8 hours.

@map are we talking about the same "sleep" that my manuals know about?

sleep NUMBER[SUFFIX]...
Description: Pause for NUMBER seconds. SUFFIX may be 's' for seconds (the default), 'm' for minutes, 'h' for hours or 'd' for days.

Follow

@drazraeltod turns out gnusleep does what I want, BSD sleep(1) only takes seconds.

Sign in to participate in the conversation
XOXO Zone

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!