
If your Mac has a T2 security chip, you can release the keys after the Apple logo appears and disappears on screen for the second time. Wait 20 seconds and release the keys or, if your Mac plays a startup chime, release the keys after the second chime.

An actual reboot command does not exist, but the SHUTDOWN /r command provides the same results. Shutdown your Mac then press the power button while holding Command-Option-P-R. The SHUTDOWN command is the primary tool for a Windows command line reboot. Then, schedule the batch file to run at the desired time. If you want to schedule an operating system restart after several other command line tasks have executed, simply create a batch file to run the commands and place the SHUTDOWN /r command at the end of the batch file. For example, SHUTDOWN /r /t 60 will shutdown Windows and reboot after a delay of 60 seconds.Īs you can see, the SHUTDOWN command can be quite useful. The default is 30 seconds, which is why you can abort a shutdown with the /a parameter. SHUTDOWN /t xxx: Set the delay before the shutdown.If you have initiated a shutdown with the SHUTDOWN command, you can abort it with this command.

I tested this using vanilla Ubuntu 14.04 and.
#Reboot mac command line upgrade#
The Windows operating system is stopped and the computer is powered off. Since I've been manually updating using apt update, upgrade I also manually reboot using this command sudo init 6 Once I forgot sudo and it worked.
