[root@linuxcool ~]# help cd
cd: cd [-L|[-P [-e]] [-@]] [dir]
Change the shell working directory.
Change the current directory to DIR. The default DIR is the value of the
HOME shell variable.
The variable CDPATH defines the search path for the directory containing
DIR. Alternative directory names in CDPATH are separated by a colon (:).
A null directory name is the same as the current directory. If DIR begins
with a slash (/), then CDPATH is not used.
………………省略部分输出信息………………
以短格式显示指定命令的帮助信息:
[root@linuxcool ~]# help -s cd
cd: cd [-L|[-P [-e]] [-@]] [dir]
以简短格式显示指定命令的帮助信息:
[root@linuxcool ~]# help -d cd
cd - Change the shell working directory.
以man命令格式显示指定命令的帮助信息:
[root@linuxcool ~]# help -m cd
NAME
cd - Change the shell working directory.
SYNOPSIS
cd [-L|[-P [-e]] [-@]] [dir]
DESCRIPTION
Change the shell working directory.
Change the current directory to DIR. The default DIR is the value of the
HOME shell variable.
………………省略部分输出信息………………