シャットダウンコマンド

Linux をシャットダウンするには、次の3つのコマンドを使用できます:

1、すぐにシャットダウン(rootユーザーが必要)

shutdown -h now

10分後に自動シャットダウン

shutdown -h 10

2、すぐにシャットダウン

halt

3、すぐにシャットダウン

poweroff

再起動コマンド

再起動には次の2つのコマンドを使用できます:

1、最も簡単なのは reboot コマンドを使用することです(rootユーザーが必要)

reboot

2、shutdown コマンドを使用することもできます

shutdown -r now

その他の参考情報