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

Use the whatis command of linux to query the command execution function

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly introduces the use of linux whatis command query command execution function, the article is very detailed, has a certain reference value, interested friends must read it!

The whatis command is used to query what functions 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.

Syntax format: whatis [parameters]

Common parameters:

Other commands show the execution function of the command

Reference example

Execution of the ls command:

[root@linuxcool] # whatis lsls (1)-list directory contentsls (1p)-list directory contents

Execution of the cp command:

[root@linuxcool] # whatis cpcp (1)-copy files and directoriescp (1p)-copy files

Execution of the chown command:

[root@linuxcool] # whatis chownchown (1)-change file owner and groupchown (1p)-change the file ownershipchown (2)-change ownership of a filechown (3p)-change owner and group of a file

Execution of the man command:

[root@linuxcool] # whatis manman (1)-format and display the on-line manual pagesman (1p)-display system documentationman (7)-macros to format man pagesman (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 is all of the contents of the command execution function using the whatis command of linux Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

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