The role of Whatis and Makewhatis in Linux

Source: Internet
Author: User

In a long time not to share with you the Linux command, Linux is a command-based system, a number of commands and their role, it is not too realistic to remember. Therefore, it is important to use tools such as man info Whatis to see what the command does. The Whatis command in Linux can be seen from its literal meaning, "what is this", through which it can know what a command is for and is described in a very short way.

AD:2014WOT Global Software Technology Summit Beijing Station course video release

In a long time not to share with you the Linux command, Linux is a command-based system, a number of commands and their role, it is not too realistic to remember. Therefore, it is important to use tools such as man info Whatis to see what the command does. The Whatis command in Linux can be seen from its literal meaning, "what is this", through which it can know what a command is for and is described in a very short way.

If you are the minimum installation of RHEL 6, there is no man whatis command, you need to install man. Whatis may be more familiar to everyone, but makewhatis? In fact, the result of Whatis operation is to retrieve the command case into its database. For systems that do not yet have this database, you need to use the Makewhatis command to get the system to retrieve it immediately. Otherwise, the system will be automatically retrieved at certain times. This is something that you should know more clearly when running an instance with the following command.

[Email protected] media]# Whatis whatiswhatis:nothing appropriate[[email protected] media]# Whatis makewhatismakewhatis:nothing Appropriate[[email protected] media]# Whatis lsls:nothing appropriate[[email protected] media]# Makewhatis[[email protected] media]# Whatis whatiswhatis (1) –search the Whatis database for complete Words[[emai L protected] media]# Whatis makewhatismakewhatis (8) –create the Whatis database

Original link: http://www.ownlinux.cn/2011/04/01/linux-whatis-makewhatis.html

The role of Whatis and Makewhatis in Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.