|
|
sudo reboot
sudo reboot is a harsh command, I believe you'd use all unsaved documents, I wouldn't recommend doing it this way.
sudo reboot, be harsh in a cruel world
arr, but if your using the cli to install packages most likely the box is on a remote site, so u cant press "save" or "don't save" and the restart would time out
sudo reboot, be harsh in a cruel world
there is ... use VNC to control the GUI remotely. for the few times I really need GUI access to my server remotely, it's perfect. For security's sake, don't add a firewall rule to open the port. Tunnel the connection through ssh from the machine you're sitting on ... ssh -L 5900:localhost:5900 remote_ip_or_dns
Then use localhost & port 5900 in your vnc client. You can have the remote machine always running the vnc server, or run it from the ssh shell.
sudo reboot, be harsh in a cruel world
Of course, if you go this route, isntalling via the CLI is pointless since you can just do it via the GUI.
sudo reboot
The applescript is all very nice, but if no one is logged into the remote machine is does not work, the response is "29:36: execution error: Application isn't running (-600)" (tested with OS X 10.3.5) |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.12 seconds |
|