Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

The usage of Linux help command

Shulou Source: shulou.com Published: 2022-06-02 06:41:31 10月05日 Update

This article introduces the relevant knowledge of "the usage of Linux help command". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Learn a little every day

Man

Example of man usage

# example: man lsman [command]

Man itself is a command and is divided into nine chapters to make it easy to distinguish between commands and configuration files with duplicate names.

# check the help of the man command man 7 man

Similarly, we can use the man command to see which chapter the command belongs to.

# which chapter does the view command belong to? man-a [command] help

Example of help usage

# example: help cdhelp [command]

# example: ls-- help [command]-- help

The difference between the two uses of help here is whether help is used for internal or external commands.

The commands included in shell are called internal commands, and the rest are external commands.

We can use the type command to see whether command is an external command or an internal command.

# example: type cdtype [commmand] info

Example of info usage

# example: info cdinfo [command]

The content displayed by the info command is more detailed than that of help and can be used as a supplement to help content.

EOF

That's all for the usage of the Linux help Command. Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Tags: Commands examples content help chapters situations more knowledge or learning practical successful and then dilemmas practical documents articles cases editing websites Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Docker vpn Huawei Apple