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

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

Share

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

This article shows you the use of linux's help command to display help information, the code is concise and easy to understand, can definitely brighten your eyes, through the detailed introduction of this article, I hope you can get something.

The help command is used to display help information for shell internal commands.

Help commands can only display help information about internal commands in shell, while most commands in linux systems are external commands, so the role of help commands is very limited. Help information for external commands can be viewed by man commands or info commands.

Syntax format: help [parameters] [internal commands]

Common parameters:

-d output a short description of each command-s output help information in short format-m displays help information in the format of a pseudo man manual

Reference example

Displays help information for the cd command:

[root@linuxcool ~] # help cd

Display help information for cd commands in a short format:

[root@linuxcool] # help-s cd

Cd: cd [- L | [- P [- e]] [- @]] [directory]

Output a short description of the cd command:

[root@linuxcool] # help-d cd

Cd-Change the shell working directory.

Output help for cd commands in pseudo-man manual format:

[root@linuxcool] # help-m cd

If you want to learn more skills or enrich your knowledge reserve, you are 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