Hacker News new | past | comments | ask | show | jobs | submit login

The more unixy way is probably `timeout <seconds> caffeinate` :)



Or `caffeinate sleep <seconds>` which has the (only) added benefit that it comes pre-installed with MacOS


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




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: