2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-17 09:25:32 +00:00
cheat.sheets/sheets/caffeinate
2017-06-04 20:46:53 +00:00

11 lines
215 B
Plaintext

# caffeinate
# Prevent a system from sleeping (Mac OS X)
# Prevent mac from sleeping for 1 hour (3600 seconds):
caffeinate -u -t 3600
# Prevent mac from sleeping until a command completes:
caffeinate -s command