【Linuxコマンド】manでマニュアルの表示

Linuxコマンド「man」でマニュアルを表示する方法についてまとめました。

スポンサーリンク

マニュアルの表示

manは、各コマンドのマニュアルを表示できます。

man [コマンド名]

動画解説

本ページの内容は以下動画でも解説しています。

実行例

コマンドの実行例です。

$ man echo



ECHO(1)                                     User Commands                                     ECHO(1)

NAME
       echo - display a line of text

SYNOPSIS
       echo [SHORT-OPTION]... [STRING]...
       echo LONG-OPTION

DESCRIPTION
       Echo the STRING(s) to standard output.

       -n     do not output the trailing newline

       -e     enable interpretation of backslash escapes

       -E     disable interpretation of backslash escapes (default)

       --help display this help and exit

       --version
              output version information and exit

       If -e is in effect, the following sequences are recognized:

       \\     backslash

       \a     alert (BEL)

echoコマンドのマニュアル(使い方の説明)が表示されます。

【Linuxコマンド入門】主なコマンドとサンプル集
Linuxコマンドの主な使い方とサンプル集について入門者向けにまとめました。
UNIX
スポンサーリンク

コメント