Do you wish to shutdown or reboot Mac from terminal window?Then try these commands given here 🙂 You can even set shutdown or reboot at a specific time.Here are few examples.
Note:
You should be a super user to use these commands.
To Launch Terminal goto Applications –> Utilities –> Terminal.
Then try the following commands in it 😉
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
Most Wanted Operating System Tips & Tricks
Click on the below icons to stay updated with the latest tips, tricks and hacks on Windows, Linux and Mac operating system.
Checkout,
List Of 175 Mac OS X Terminal Commands – Geekyard