View Full Version : Spegnere pc Ubuntu da riga comando di Windows
In pratica mi serve uno script che faccia spegnere un server con Ubuntu (devo aggiungere un pulsante al Media Center che mi faccia spegnere il server).
In pratica mi serve l'equivalente per Ubuntu di
shutdown -s -m //computer -t 00 -f
sotto windows per linux
quindi tipo un putty in batch-mode ? che poi esegua un: halt -p
Chiancheri
07-12-2009, 13:30
In pratica mi serve uno script che faccia spegnere un server con Ubuntu (devo aggiungere un pulsante al Media Center che mi faccia spegnere il server).
In pratica mi serve l'equivalente per Ubuntu di
shutdown -s -m //computer -t 00 -f
sotto windows per linux
se tu vuoi spegnere il pc con ubuntu, da un pc con windows fai cosė:
sul pc con ubuntu instala openssh-server
sudo apt-get install openssh-server
dopodichč su windows instala putty
infine da windows accedi al pc cosė:
ssh nomeutentepcubuntu@ippcubuntu
una volta entrato puoi dare i comandi che vuoi (nel tuo caso sudo halt)
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.