mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
caffeinate: added -i option (#1719)
This commit is contained in:
parent
c24e05789e
commit
64df2ef980
1 changed files with 8 additions and 4 deletions
|
@ -1,11 +1,15 @@
|
||||||
# caffeinate
|
# caffeinate
|
||||||
|
|
||||||
> Prevent a system from sleeping.
|
> Prevent mac from sleeping.
|
||||||
|
|
||||||
- Prevent mac from sleeping for 1 hour (3600 seconds):
|
- Prevent from sleeping for 1 hour (3600 seconds):
|
||||||
|
|
||||||
`caffeinate -u -t 3600`
|
`caffeinate -u -t {{3600}}`
|
||||||
|
|
||||||
- Prevent mac from sleeping until a command completes:
|
- Prevent from sleeping until a command completes:
|
||||||
|
|
||||||
`caffeinate -s {{command}}`
|
`caffeinate -s {{command}}`
|
||||||
|
|
||||||
|
- Prevent from sleeping until you type Ctrl-C:
|
||||||
|
|
||||||
|
`caffeinate -i`
|
||||||
|
|
Loading…
Add table
Reference in a new issue