一条命令主要是:
- 可执行程序
- shell内置命令
- shell函数
- alias命令
type主要用于显示命令的类型
type type
type is a shell builtin
which显示可执行程序的位置
help获得shell内置命令的帮助文档
–help显示命令的帮助信息
man显示程序的手册页
apropos显示合适的命令
whatis 显示命令的简要描述
info显示程序的info条目
一条命令主要是:
type主要用于显示命令的类型
type type
type is a shell builtin
which显示可执行程序的位置
help获得shell内置命令的帮助文档
–help显示命令的帮助信息
man显示程序的手册页
apropos显示合适的命令
whatis 显示命令的简要描述
info显示程序的info条目