這個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.
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 ..
--author
with -l, print the author of each file
這樣可以查看 “ls” 這個命令的幫助文檔,進入後按 ‘q’ 鍵退出。