mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-13 22:51:13 +03:00
214 B
214 B
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}}