The ‘halt’ command can also instantly shut down a Mac via the command line. Shutting Down a Mac via Terminal with ‘halt’ ![]() For example if you put “2” instead of 30 then you would shut down the Mac in 2 minutes. Replace “30” with any other number of minutes to shut down the Mac in that amount of time. If you do feel like putting a delay on the shutdown, you can use the following command syntax instead: Shutting down a Mac in XX Minutes from the Command Line You can also use the -h flag to set a time or date for shutting down the computer, for example in 30 minutes, but if you want to shut down the Mac instantly you would use the ‘now’ parameter with the -h flag rather than a number. No data is saved and no dialogs are confirmed, the shut down happens instantly. Hit the return key and authenticate with an administrative password to immediately shut down the Mac. ![]()
0 Comments
Leave a Reply. |