Shutdown or Restart Mac OS X Using Terminal is the great way to Shutdown Mac OS Properly. Suppose your Mac Computer having any problem and can’t able to Click on Apple Menu then use command Line to shutdown and Restart your Computer. There is also a command for Time shutdown means that you can set time to shutdown PC on that Specified time. There is Many feature like sleep, Log Off, Reboot and Shutdown Mac OS.
Shutdown Mac OS Using Terminal
1. First of all to Launch Terminal, Click on Go Menu Bar then Click on Applications.
2. Now on the Application Windows Click on Utilities and then Click on Terminal Icon.
- How to Block Website In Mac OS Using Terminal
- How to Enable Remote Desktop Access on Mac OS X
- How to Encrypt Folder with Password Protection In Mac OS X
- How to Record Mac OS Screen Using Quick Time Player
3. Now Terminal Windows Opened then Type below Command to Shutdown Mac OS X Immediately.
sudo shutdown -h now
Now it will ask for Mac PC Password, Put Password and then Press Enter. Then you will see that your computer will shutdown automatic within second.
Reboot Mac OS Using Command Line
To Reboot Mac OS using Command line type below Command in Command Line,
sudo shutdown -r now
Now your Computer will Reboot Automatically with in second.
Shutdown Mac OS in Certain Time
To Shutdown Computer within specified time then Type the below command on your Command Line , then Press Enter , Now it will ask for System Password Put Password and Press Enter.
sudo shutdown -h +10
Now after 10 Minute your Computer will Shutdown Automatic .
Shutdown Mac OS Certain Date and Time
There is also great feature in Command line that you can Shutdown your Mac PC on Specified Date and Time, Type Below Command on Command Line like below Format.
sudo shutdown -h yymmddhhmm
yy – Represent Year
mm – Represent Moth
dd – Represent date
hh – Represent Hour
mm – Represent Minutes
Suppose you want your Computer Will automatic shutdown on 25 Feb , 2015 date and Time 22:00 O’Clock. then you have to type Command and Press Enter.
sudo shutdown -h 1502252200
Now Type Password of your Mac PC then Press Enter.
After Put Password It will show Information that On which date and time your Computer Will Shutdown. Now you have learned from this Article to Schedule Shutdown Mac PC on Specified date and Time.