linux中查看命令帮助大全
- 本文分享一下Linux命令的帮助
- help、info、whatis、man
- 首先给大家介绍一下什么是内部命令和外部命令
- 内部命令:shell本身自带的命令
- 外部命令:一般是用户安装软件装上来的。
- 查看系统中所有的内部命令列表
- [root@localhost /]# help
- 1、help
- help 内部命令
- 外部命令 --help 或者 外部命令 - h
- 2、info information
- 功能:查看命令的来源、功能、选项等等。
- [root@localhost / ]# info ls
- 3、whatis 查看命令的用途的
- [root@localhost / ]# whatis ls
- ls (1) - list directory contents
- ls (1p) - list directory contents
- p:posix标准 可移植操作系统接口
- 4、man * ****** manual:手册
- “有问题找男人”
- man 命令 —— 查看命令的帮助
- man 5 文件名 —— 查看某些文件的帮助
- [root@localhost ~]# man man
- MANUAL SECTIONS
- 1 User Commands 用户命令
- 5 File Formats and Conventions
- 文件格式和约定
8 System Administration tools and
来源: http://www.bubuko.com/infodetail-2403655.html