mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
12 lines
211 B
Markdown
12 lines
211 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}}`
|