Is `shutdown-hr` usually used for restart in Linux?

in Linux, when using the shutdown command, it is often used to shut down the system:

shutdown -h  //  (Linux)

shutdown -r  // 

then why is it rare to see:

shutdown -hr

am I ill-informed?

so let"s just say:

shutdown -r  // 

    

reboot restart poweroff shutdown


does a restart include a shutdown?
I am both init 0 and init 6 , short?


the two commands are confused and their functions are completely different.

shutdown-h shuts down the computer, while shutdown-r restarts the computer.


  • reboot
  • shutdown-r
Menu