Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Man appears "nothing appropria" in unix system

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Recently, when using man -f to check help information on a newly deployed server, I encountered "nothing appropriate". At that time, I thought that man was not installed, so I installed it with yum. As a result, I found that man was installed, so I went to look for the parameter option of man-f. There was this sentence "Equivalent to whatis." "Man -f actually uses whatis, so it uses whatis to find that it cannot be used, so man whatis finds this sentence:

The whatis database is created using the command /usr/sbin/makewhatis.

The original man -f is to use whatis or apropos, of course, these two instructions must be used by the root user to use, and the use of whatis or apropos must create a whatis database only line So run makewhatis and then use man -f to see the next normal, there is a point to note that if the system Centos7 version or above to establish an index library is mandb.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report