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

How to use the whatis command in Linux

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

Share

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

This article focuses on "how to use whatis commands in Linux". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor learn how to use the whatis command in Linux.

Linux common command whatis command is used to query what function a command performs and print the query results to the terminal.

The whatis command looks for the command, system call, library function, or special file name specified by the command parameter in the database created with the catman-w command. The whatis command displays the header line in the manual section. You can then issue the man command to get additional information. The whatis command is equivalent to using the man-f command.

Grammatical format

Whatis [parameters]

Common parameters: other commands show the execution function of this command

Reference example

Execution of the ls command:

[root@linux265] # whatis ls ls (1)-list directory contents ls (1p)-list directory contents

Execution of the cp command:

[root@linux265] # whatis cp cp (1)-copy files and directories cp (1p)-copy files

Execution of the chown command:

[root@linux265] # whatis man man (1)-format and display the on-line manual pages man (1p)-display system documentation man (7)-macros to format man pages man (rpm)-A set of documentation tools: man, apropos and whatis. Man-pages (rpm)-Man (manual) pages from the Linux Documentation Project. Man.config [man] (5)-configuration data for man here, I believe you have a better understanding of "how to use the whatis command in Linux". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

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

Development

Wechat

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

12
Report