tldr/pages/osx/caffeinate.md

14 lines
213 B
Markdown

# caffeinate
> Prevent a system from sleeping
- Prevent mac from sleeping for 1 hour (3600 seconds)
`caffeinate -u -t 3600`
- Prevent mac from sleeping until a command completes
`caffeinate -s {{command}}`