Follow

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.

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

@ra yes, that is what computers are for. (gnu sleep does what I want though, thanks.)

Sign in to participate in the conversation
XOXO Zone

A place for the XOXO Festival community. Share your dreams, your struggles, your cat photos, or whatever else strikes your fancy, and see what everyone else is sharing.

This space is just for XOXO members. Never heard of Mastodon? Head over to joinmastodon.org to learn more and start posting.