

But if we modify the "now" property by +30, we will configure our Mac so that proceed to power off after 30 minutes. Schedule shutdown of our Mac in XX minutes from the command lineĪs we have seen in the previous section, using the now command we can directly turn off our Mac from Terminal. This is one case where I think Apple carried its simplistic design a little bit too far.
Force mac shutdown pro#
The complete command to be able to turn off our Mac from the command line is: sudo shutdown -h now All it takes to force a restart of a frozen MacBook Pro with Touch Bar is to press down on the Touch ID button until the device reboots.
Force mac shutdown password#
The shutdown command allows us to shut down our Mac from the command line making use of the "-h" property together with the word "now" so that the Mac request password and automatically process to shutdown. Shut down our Mac from the command line with "shutdown" 3 Shut down our Mac from Terminal using «halt» Hold option once the Mac is off or restarting (you may need to hold the power button or the Touch ID button to force shutdown first).

