shutdown:システムを停止/再起動する

説明

 システムを停止/再起動するコマンド

構文

 shutdown [オプション]

オプション

 -r :再起動する
 -h     :終了する

実行例

 システムをすぐに停止させる

$ shutdown -h now

 システムをすぐに再起動させる

$ shutdown -r now