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 man command of linux to view command help information

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article will explain in detail about using linux's man command to view command help information. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

The man command is one of the core commands under Linux. And the man command is not the meaning of the English word "man", it is the abbreviation of the word manual, even if the meaning of the manual.

The man command lists a complete description. Its content includes command syntax, the meaning of each option and related commands. What is more powerful is that you can view not only the help for using commands in Linux, but also software service configuration files, system calls, library functions, and other help information.

The man man page file is stored in the / usr/share/man directory.

Syntax format: man [command]

Common parameters:

An introduction to the composition of the man command:

How to use user commands, system calls such as parameters that can be used, and function library calls that only the system can execute, mostly libc functions, such as qsort (3) devices and special file formats and convention game macro command packages and convention system management commands, most of which only root can execute kernel program Tcl or Tk instructions

Keyboard shortcuts:

Reference example

View help information for the cp command:

[root@linuxcool ~] # man cp

View the information for the / etc/passwd file:

[root@linuxcool ~] # man / etc/passwd

View the location of the passwd command:

[root@linuxcool ~] # man-w passwd/usr/share/man/man1/passwd.1.gz

View the location of the man page of the / etc/passwd file:

[root@linuxcool] # man-w 5 passwd/usr/share/man/man5/passwd.5.gz about using linux's man command to view command help information is shared here. I hope the above content can be of some help to you and learn more knowledge. If you think the article is good, you can share it for more people to see.

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