ラズベリーパイを使ってみる – マニュアルを表示する!(man) –

スポンサーリンク

コンテンツ


ラズベリーパイ2にて動作確認済です!ラズベリーパイ2のOSはRaspbian-jessieです。

コマンド

以下のコマンドを実行すると、ラズベリーパイ2で実際に動かすことが可能です!

man shutdown

実行時の様子

上記のコマンドを実行すると、ラズベリーパイ2で以下のように動作します!ラズベリーパイ2で動作確認すみです!

shutdown(8)                 System Manager's Manual                shutdown(8)

NAME
       shutdown - bring the system down

SYNOPSIS
       shutdown [OPTION]...  TIME [MESSAGE]

DESCRIPTION
       shutdown arranges for the system to be brought down in a safe way.  All
       logged-in users are notified that the system is going down and,  within
       the last five minutes of TIME, new logins are prevented.

       TIME  may  have  different  formats, the most common is simply the word
       'now' which will bring the system down immediately.  Other  valid  for‐
       mats  are  +m,  where m is the number of minutes to wait until shutting
       down and hh:mm which specifies the time on the 24hr clock.

       If no option is specified, the default action is to  bring  the  system
       down into single-user mode.

       Once  TIME  has elapsed, shutdown sends a request to the init(8) daemon
       to bring the system down into the appropriate runlevel.

解説

「man」コマンドは、Linuxやラズベリーパイ2でコマンドのマニュアルを表示するためのコマンドです。「man shutdown」とすると、shutdownコマンドに関するマニュアルを表示します。

ラズベリーパイ2でコマンドを実行してみたいけど初めて使うコマンドで使い方がよくわからない… コマンドの使い方を知りたい!時に役立つと思います!