Linux中查看命令幫助大全
阿新 • • 發佈:2017-11-22
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
本文出自 “13361631” 博客,請務必保留此出處http://13371631.blog.51cto.com/13361631/1983960
Linux中查看命令幫助大全