[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linux-31] HAlt par ssh



Bonsoir,

Donc :
sudo shutdown -h
ou
sudo poweroff

Merci à vous

pierre estrem



Le 18/04/2019 à 00:50, Joyce MARKOLL (via linux-31 Mailing List) a écrit :
On Thu, 18 Apr 2019 00:30:56 +0200
"tth" (via linux-31 Mailing List)<linux-31@culte.org>  wrote:

Le 18/04/2019 00:21:07, Peterpan31 a écrit :

Quelle serait la meilleure commande pour arrêter cette machine
distante (également une Debian Jessie, bien entendu !) ?

     $ sudo shutdown
Non, avant systemd c'était (en root) " shutdown -h now" -h pour 'halt', et '-r' pour
reboot.

Depuis systemd, c'est (en root, ou bien donc, précédé de sudo) : poweroff


--

https://orditux.org
https://linux-ariege.eu.org
https://linuxvillage.org
https://bentovillage.me