Re: halt vs shutdown

Ednardo Lobo <[email protected]>
Newsgroups gmane.linux.debian.user.portuguese
Message-ID <[email protected]>
On 09/09/2021 17:24, Leandro Guimarães Faria Corcete DUTRA wrote:
> 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.

Sim, você está certo! Grato, por corrigir-me.

>> 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’

Eu disse que desconfiava, pois não pude ler mais detalhadamente o 
manual. Agora, verificando melhor, de fato o shutdown — se nada em 
contrário for informado por meio de parâmetros — irá também desligar o 
hardware:

-H, --halt
     Halt the machine.

-P, --poweroff
     Power-off the machine (the default).  <---

-r, --reboot
     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.