Reboot Mac From Command Line

Rebooting and closing down a computer system from another location is a regular job for remote system administrators. As somebody that composes lots of shell scripts, I likewise discover myself automating system reboots. Let’s take a look at a couple of methods to reboot Mac systems from command line!

Reboot a Regional Mac

To reboot a regional Mac system from command line, you can perform:

 sudo shutdown -r now

Reboot a Remote Mac

To reboot a remote Mac system, you can perform:

ssh -l {AdminSystemAddress}
sudo shutdown -r now.

Reboot at a Particular Time

You can define a reboot at a particular time:

# Format: sudo shutdown -r hhmm.
# Reboot at 11:30 pm regional time.
sudo shutdown -r 2330.

System restarts are excellent after enormous updates or simply for cleaning out system resources. These command line examples must assist reboot a Mac in your area or from another location.

  • Create Spinning Rays with CSS3: Revisited
  • How I Stopped WordPress Comment Spam

    I like practically every part of being a tech blog writer: knowing, preaching, bantering, investigating. The one part about blogging that I definitely hate: handling SPAM remarks. For the previous 2 years, my blog site has actually signed up 8,000+ SPAM remarks daily. DAILY. Bloating my database …

Like this post? Please share to your friends:
Leave a Reply

;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: