Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Archlinux cli command?

Anybody know what are the archlinux cli command for logout session, lock session, restart , shutdown...  ?

Can someone with complete knowledge of this list the whole cli command for the purposes ?

I am so confused.

I understood

$shutdown now

$reboot +1

but what are the rest , instead just reboot and shutdown ?

I tried $halt, and it causes the whole computer to freeze in blank screen... until i force reset it..

what does $halt  do ?

1 Answer

Relevance
  • BigE
    Lv 7
    2 months ago

    I don't run arch linux, but usually you always go through shutdown, like

    shutdown -r now or shutdown -h now.  Some of those don't shutdown, like a system halt.  You only run explicit halt to halt without flushing the disk cache or syncing the disk. This is sometimes done during filesystem repair, where you don't want to write the in memory superblocks to disk.

    I know on Ubuntu variants, there is a pm command that first tells you if you can hiberate and suspend, like pm-suspend, pm-hibernate.  Some devices cannot hibernate, however.   So it will not hibernate or not give you the option to do so.

Still have questions? Get your answers by asking now.