Re: halt vs shutdown

Leandro Guimarães Faria Corcete DUTRA <[email protected]>
Newsgroups gmane.linux.debian.user.portuguese
Message-ID <[email protected]>
Le jeudi 09 septembre 2021 à 15:26 -0300, Ednardo Lobo a écrit :
> Desconfio que:
> 
> 1) shutdown
> 
> Encerra o SO.

E a máquina.  Pelo menos esse é o uso mais comum, embora ele seja
versátil.


> 2) halt
> 
> Encerra o SO (shutdown) e para, ou seja, não desliga o hardware.

Exato.


> 3) poweroff
> 
> Encerra o SO (shutdown) e desliga o hardware.

Sim, como o shutdown.  A diferença é que o shutdown tem mais opções.



> Fontes: man shutdown, halt, poweroff e systemctl.

Mas de onde tiraste que o shutdown não desliga a máquina?  Lá está
claro que ele pode equivaler a halt, reboot ou poweroff:

‘may be used to halt, power-off or reboot the machine’
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.