Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
lambdaba
4y ago
0 comments
Share
The more unixy way is probably `timeout <seconds> caffeinate` :)
0 comments
default
newest
oldest
bajsejohannes
4y ago
Or `caffeinate sleep <seconds>` which has the (only) added benefit that it comes pre-installed with MacOS
lambdaba
OP
4y ago
Yes but this got me thinking is it makes more sense to sleep after timing out the caffeination instead of keeping the sleep command running ;) that's enough Unix for the day haha
j
/
k
navigate · click thread line to collapse