whatis,whereis,man

首次安装系统不会产生,需要经过一段时间才会产生。

whatis:查看命令是什么,显示所有的章节

生成数据库方法:6:makeis

                              7:mandb

whatis command = man -f command

whereis:查看命令路径,帮助文档

man命令的配置文件:

                                6----/etc/man.config

                                7----/etc/man_db.conf

MAN PATH /PATH/TO/SOMEWHERE: 指明man文件搜索位置

man -M /PATH/TO/SOMEWHERE COMMAND: 到指定位置下搜索COMMAND命令的手册页并显示

man [章节] keyword:查看man 手册

man –a keyword:列出所有帮助

[root@localhost ~]# man -k cd

tcdrain (3)          - get and set terminal attributes, line control, get and set baud rate

nscd.conf (5)        - name service cache daemon configuration file

cd (1)              - bash built-in commands, see bash(1)

cd (1p)              - change the working directory

cd-create-profile (1) - Color Manager Profile Creation Tool

cd-drive (1)        - show CD-ROM drive characteristics

cd-fix-profile (1)  - Color Manager Testing Tool

cd-info (1)          - shows Information about a CD or CD-image

cd-it8 (1)          - Color Manager Testing Tool

cd-paranoia (1)      - 9.8 (Paranoia release III via libcdio) - an audio CD reading utility whic...

cd-read (1)          - reads Information from a CD or CD-image

cdrecord (1)        - write data to optical disk media

ldns_pkt_cd (3)      - (unknown subject)

ldns_pkt_set_cd (3)  - (unknown subject)

mcd (1)              - change MSDOS directory

nscd (8)            - name service cache daemon

perlebcdic (1)      - Considerations for running Perl on EBCDIC platforms

pitchplay (1)        - wrapper script to play audio tracks with cdda2wav with different pitches ...

readcd (1)          - read or write data Compact Discs

readmult (1)        - a multitrack wrapper for cdda2wav

rpcdebug (8)        - set and clear NFS and RPC kernel debug flags

rsyncd.conf (5)      - configuration file for rsync in daemon mode

tcdrain (3p)        - wait for transmission of output

Unicode::UCD (3pm)  - Unicode character database

utf8 (3pm)          - Perl pragma to enable/disable UTF-8 (or UTF-EBCDIC) in source code

XkbAllocDeviceInfo (3) - Obtain an XkbDeviceInfoRec structure

XkbAllocDeviceLedInfo (3) - Obtain an XkbDeviceLedInfoRec structure

XwcDrawImageString (3) - draw image text using a single font set

XwcDrawString (3)    - draw text using a single font set

XwcDrawText (3)      - draw text using multiple font sets

使用whatis数据库

相当于whatis = man –f keyword

[root@localhost ~]# man -f cd

cd (1)              - bash built-in commands, see bash(1)

cd (1p)              - change the working directory

打印man帮助文件的路径:man –w [章节] keyword(whereis keyword)

[root@localhost ~]# man -w cd

/usr/share/man/man1/builtins.1.gz

搜索man手册:man -k keyword,列出所有匹配的页面

[root@localhost ~]# man -k cd

tcdrain (3)          - get and set terminal attributes, line control, get and set baud rate

nscd.conf (5)        - name service cache daemon configuration file

cd (1)              - bash built-in commands, see bash(1)

cd (1p)              - change the working directory

cd-create-profile (1) - Color Manager Profile Creation Tool

cd-drive (1)        - show CD-ROM drive characteristics

cd-fix-profile (1)  - Color Manager Testing Tool

cd-info (1)          - shows Information about a CD or CD-image

cd-it8 (1)          - Color Manager Testing Tool

cd-paranoia (1)      - 9.8 (Paranoia release III via libcdio) - an audio CD reading utility whic...

cd-read (1)          - reads Information from a CD or CD-image

cdrecord (1)        - write data to optical disk media

ldns_pkt_cd (3)      - (unknown subject)

ldns_pkt_set_cd (3)  - (unknown subject)

mcd (1)              - change MSDOS directory

nscd (8)            - name service cache daemon

perlebcdic (1)      - Considerations for running Perl on EBCDIC platforms

pitchplay (1)        - wrapper script to play audio tracks with cdda2wav with different pitches ...

readcd (1)          - read or write data Compact Discs

readmult (1)        - a multitrack wrapper for cdda2wav

rpcdebug (8)        - set and clear NFS and RPC kernel debug flags

rsyncd.conf (5)      - configuration file for rsync in daemon mode

tcdrain (3p)        - wait for transmission of output

Unicode::UCD (3pm)  - Unicode character database

utf8 (3pm)          - Perl pragma to enable/disable UTF-8 (or UTF-EBCDIC) in source code

XkbAllocDeviceInfo (3) - Obtain an XkbDeviceInfoRec structure

XkbAllocDeviceLedInfo (3) - Obtain an XkbDeviceLedInfoRec structure

XwcDrawImageString (3) - draw image text using a single font set

XwcDrawString (3)    - draw text using a single font set

XwcDrawText (3)      - draw text using multiple font sets

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,753评论 0 10
  • 搬进自己的小蜗居也快几个月了,每次住在我楼下的那家都会引发我对婚姻的思考。 那应该也算是我的邻居,只是我们没有见过...
    曾琦阅读 499评论 3 1
  • 那本来可怜巴巴的蜷缩在地上的病魂,在听完我怼了他一句之后,竟然怨念又强大了起来。 “我这么可怜,你居然不把还阳的名...
    有鱼姑娘阅读 250评论 0 4

友情链接更多精彩内容