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