View Full Version : Shutting down other Macbooks around you through terminal?
brian9271
Oct 28, 2008, 10:04 AM
Hey there, I was wondering if I could shut down my Macbook remotely using terminal, so lets say I'm using my friends Macbook at his place, then I type my Ip Address into terminal and I shut it down, what commands would I need to type?
belvdr
Oct 28, 2008, 10:08 AM
Do a man on shutdown in terminal:man shutdown
Looks like:shutdown -h nowwill do the trick.
saltyzoo
Oct 28, 2008, 10:14 AM
Do a man on shutdown in terminal:man shutdown
Looks like:shutdown -h nowwill do the trick.
After you use ssh to log into your computer.
belvdr
Oct 28, 2008, 10:16 AM
After you use ssh to log into your computer.
Figured he knew that already, based on his question.
brian9271
Oct 29, 2008, 02:19 AM
Figured he knew that already, based on his question.
Uh, no, not really, where do I type my Ip Address in in order to shutdown my Mac?
Cromulent
Oct 29, 2008, 04:10 AM
Uh, no, not really, where do I type my Ip Address in in order to shutdown my Mac?
ssh username@IPAddress
sudo shutdown -h now
job done.
brian9271
Oct 29, 2008, 05:37 AM
ssh username@IPAddress
sudo shutdown -h now
job done.
Thanks, what's your username@IPAddress now?
LOL, kidding ;)
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.