LoginSignup
32
27

More than 5 years have passed since last update.

OSXをコマンドラインからスリープさせる

Posted at

指定時間にスリープ解除("省エネルギー"→"スケジュール")と組み合わせると便利。

スリープ

osascript -e 'tell application "Finder" to sleep'

再起動

osascript -e 'tell application "Finder" to restart'

シャットダウン

osascript -e 'tell application "Finder" to shut down'

参考: 【Proton.jp】 Mac OS X の便利なコマンド

32
27
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
32
27