Shutdown or Reboot Mac Using Command Line

The control line is that the text interface of this, you guessed it, excepts controls which are sent to the operating system to operate. The control line isn’t exceptionally effective but sensitive instrument. In your Mac, the control line resides from the Terminal program. In case you’re only learning how to use command line, you might want to understand how to shut down or reboot your Mac using command line. This is extremely simple to execute and just requires a couple of minutes of your time. To be able to begin and find out how to shut down and reboot your Mac using command line, then follow the directions below.

Please be aware that shutting down your Mac via control line will probably be instantaneous. You won’t receive any warning conversation or verification. This could cause information loss, if you don’t store your information beforehand. In case you’re confident that you ‘re prepared to close down your Mac using command line, then follow the easy instructions below.

  1. Launch Terminal. It’s possible to use Spotlight to do that by clicking the magnifying glass icon at the upper right corner of the display. Type in Terminal from the search bar that appears and press on the enter/return key.
  2. Input the following command

Sudo shutdown –h today

  1. Please do this accordingly.

Your Mac will immediately shutdown. It is also possible to use the –h flag so as to put a date or time for shutting down your Mac. By Way of Example, so as to shut down your Mac in Half an Hour, you’d enter the following:

It’s as straightforward as that. Your Mac will shutdown in half an hour.

Display Mac Using Command Line

To be able to begin and find out the way to reboot your Mac, with the command line, then follow the easy instructions below.

  1. Launch Terminal. It’s possible to use Spotlight to do that by clicking the magnifying glass icon at the upper right corner of the display. Type in Terminal from the search bar that appears and press on the enter/return key.
  2. Input the following command:

Sudo shutdown –r

  1. Please do this accordingly.

It’s as straightforward as that. Now you ‘ve already learned the way to shutdown and reboot into your Mac, using the command line.

Leave a Reply

Your email address will not be published. Required fields are marked *