Linux man命令详解

man 帮助命令
man是manual的缩写,用来查看linux中其他命令的使用说明。

格式:
man <命令名称>
man 数字 <命令名称>,数字表示第几章节

例如:
$man ls

显示如下:

LS(1)                                               User Commands                                               LS(1)

NAME
       ls - list directory contents

SYNOPSIS
       ls [OPTION]... [FILE]...

DESCRIPTION
       List  information  about the FILEs (the current directory by default).  Sort entries alphabetically if none of
       -cftuvSUX nor --sort is specified.

       Mandatory arguments to long options are mandatory for short options too.

       -a, --all
              do not ignore entries starting with .

       -A, --almost-all
              do not list implied . and ..
......