「分かりそう」で「分からない」でも「分かった」気になれるIT用語辞典イメージぴよ画像「分かりそう」で「分からない」でも「分かった」気になれるIT用語辞典

reboot【コマンド】

pointこの用語のポイント

pointコマンドだよ

pointUNIX系で使えるよ

pointコンピュータを再起動するよ

スポンサーリンク

簡単に書くよ

reboot【コマンド】とは

コンピュータさんに対する命令文(コマンド)のひとつ
であり

コンピュータを再起動するときに使うコマンド
です。


image piyo

詳しく書くよ

「reboot」コマンド

コンピュータを再起動するときに使うコマンド

です。
UNIXLinuxとかMacとか)で使えます。

書き方は

reboot [オプション]

です。
オプションは、ちょぼちょぼとあります。

オプション説明
--helpヘルプを表示する
Print a short help text and exit.
--haltシステムを停止する。コンピュータの電源を切れる状態にする
Halt the machine, regardless of which one of the three commands is invoked.
-pコンピュータの電源を切る
Power-off the machine, regardless of which one of the three commands is invoked.
--rebootコンピュータの電源を切る
Power-off the machine, regardless of which one of the three commands is invoked.
--rebootコンピュータを再起動する
Reboot the machine, regardless of which one of the three commands is invoked.
-f強制的に終了する
Force immediate halt, power-off, reboot. Do not contact the init system.
--force強制的に終了する
Force immediate halt, power-off, reboot. Do not contact the init system.
-w/var/log/wtmp」に記録を残すけど、実際の終了処理はやらない
Only write wtmp shutdown entry, do not actually halt, power-off, reboot.
--wtmp-only「/var/log/wtmp」に記録を残すけど、実際の終了処理はやらない
Only write wtmp shutdown entry, do not actually halt, power-off, reboot.
-d「/var/log/wtmp」に記録を残さない
Do not write wtmp shutdown entry.
--no-wtmp「/var/log/wtmp」に記録を残さない
Do not write wtmp shutdown entry.
--no-wall終了前のメッセージを表示しない
Do not send wall message before halt, power-off, reboot.

などです。

使い方は簡単です。

オプションを何も指定しないで

reboot

を実行すると、コンピュータが再起動されます。

shutdown」コマンドを使って

shutdown -r now

を実行するのと同じ結果になります。

基本的な使い方は、それだけです。
オプションは必要に応じて勉強してください。


image piyo2

一言でまとめるよ

まぁ「reboot」ってコマンドが出てきたら「コンピュータを再起動するときに使うんだな~」と お考えください。

一番上に戻るよ
スポンサーリンク
書籍画像022
書籍画像003

おまけ

■訳してみるよ

「re(リ)」という接頭辞が付くと「再び」とか「後ろへ」とか「反対に」のような意味になります。
「boot(ブート)」の意味は「(コンピュータの)起動」とか「ブーツ」とか「長靴」とかです。
何となく くっつけると

再び起動

となります。


■検索してみる?




書籍画像
わわわ説明術コラム
宣伝だよ
わかばちゃんとつくって、壊して、直して学ぶ NewSQL入門
「分かった!」と思わせる説明の技術 知識ゼロの相手にも伝わるようになる本【Audible】
実践サイバーセキュリティ入門講座 現場に残された痕跡からハッカーの攻撃を暴け