1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.id/osx/caffeinate.md
2021-10-04 00:05:41 -03:00

365 B

caffeinate

Menghindari macOS dari sleep (mode tidur). Informasi lebih lanjut: https://ss64.com/osx/caffeinate.html.

  • Menghindari mode sleep selama 1 jam (3600 detik):

caffeinate -u -t {{3600}}

  • Menghindari mode sleep sampai sebuah command selesai:

caffeinate -s {{command}}

  • Menghindari mode sleep sampai anda mengetik Ctrl-C:

caffeinate -i