Shutdown or Restart Mac OS X from Terminal

by Sanju 2012-06-01 11:10:54

Shutdown or Restart Mac OS X from Terminal

Need to shutdown or reboot Mac from terminal window? Use the following commands..

You should be a super user to use these commands.

Goto Applications -> Utilities -> Terminal.

1. Shutdown immediately

sudo halt


2. Restart immediately
sudo reboot


3. Shutdown in 10 minutes
sudo shutdown -h +10


4. Shutdown at 8 pm
sudo shutdown -h 20:00


5. Shutdown immediately
sudo shutdown -h now


6. Reboot immediately
sudo shutdown -r now
1037
like
0
dislike
0
mail
flag

You must LOGIN to add comments