Command to remotely restart another computer on same network, In Windows and Linux? -


what command use remotely restart computer on our network, through command prompt windows? , same command in linux terminal?

google should sort u out.

here's possibilities assuming wish reboot linux machine (either local or remote):

local

(as root)

/sbin/shutdown -r 

or

$ sudo reboot 

remote

you need access remote machine before can reboot it. so, best bet grabbing ssh or putty (for windows).

with ssh, can reboot remote linux machine this:

$ ssh root@remote-server.com /sbin/reboot 

or

$ ssh root@remote-server.com /sbin/shutdown -r 

enjoy!

more ideas discussed here


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -