Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use the common command help in Linux

Shulou Source: shulou.com Published: 2022-06-01 17:09:00 10月03日 Update

Editor to share with you how to use the Linux command help. I hope you will get something after reading this article. Let's discuss it together.

The Linux common commands help command is used to display help information for shell internal commands. The help command can only display command help information within shell. Help information for external commands can only be viewed using man or info commands.

The command format help [- dms] [PATTERN...] PATTERN is used to match commands. If there is a command that matches the pattern, help returns a status of 0, otherwise it is non-0.

Option description-d outputs a short description of each command-m describes the command in a format similar to the man manual-s displays only the command using the format instance (1) to view help's own help information.

Help help (2) views help for help commands in a format similar to the man manual.

Help-m help (3) View a short description of the help command.

Help-d help help-Display information about builtin commands. (4) View the format used by the help and cd commands.

Help-s help cd help: help [- dms] [pattern...] Cd: cd [- L | [- P [- e]] [dir] after reading this article, I believe you have some understanding of "how to use Linux commands help". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

Tags: Commands information formats help frequently used short manuals articles done examples more patterns status knowledge industry information information channels channels output Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker NVidia vpn Apple Shulou Technology