Friday, June 9, 2023
HomeProgrammingRestart Mac From Command Line

Restart Mac From Command Line

Restarting and shutting down a pc remotely is a frequent activity for distant system directors. As somebody that writes many shell scripts, I additionally discover myself automating system restarts. Let us take a look at just a few methods to restart Mac techniques from command line!

Restart a Native Mac

To restart a neighborhood Mac system from command line, you may execute:

sudo shutdown -r now

Restart a Distant Mac

To restart a distant Mac system, you may execute:

ssh -l {AdminSystemAddress}
sudo shutdown -r now

Restart at a Particular Time

You may specify a restart at a particular time:

# Format:  sudo shutdown -r hhmm
# Restart at 11:30pm native time
sudo shutdown -r 2330

System restarts are good after huge updates or simply for clearing out system sources. These command line examples ought to assist restart a Mac regionally or remotely.

  • CSS Filters

    CSS filter assist lately landed inside WebKit nightlies. CSS filters present a way for modifying the rendering of a fundamental DOM factor, picture, or video. CSS filters enable for blurring, warping, and modifying the colour depth of parts. Let’s have…

  • 9 Mind-Blowing Canvas Demos

    The <canvas> factor has been a revelation for the visible specialists amongst our ranks.  Canvas gives the means for unbelievable and environment friendly animations with the added bonus of no Flash; these builders can flash their superior JavaScript abilities as an alternative.  Listed below are 9 unbelievable canvas demos that…



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments