Hacker News new | past | comments | ask | show | jobs | submit
`caffeinate -disu` is the best combination (that is, enable all options): your laptop won't go to sleep, won't dim the screem etc.