help command in Linux With Example
help command in linux

help command in Linux With Example


In this article, we will tell you about the help Command in Linux, so that you will know what to do to know about a command in details. Help provides you summary information of any command. While using Help in Linux, you will get many options related to this.

Everyone wants to learn Linux operating but they find it very difficult due to lack of proper information and guidance. Some people are afraid to use Linux operating system because most of the commands are used in Linux or its other distributions and people think that we have to memorise many commands to use it.

If you want summary information about a command in Linux, first type help and then type the command with a single space.

help [-dms] [PATTERN ...]
cat --help
linux ps command

output in pseudo-manpage format If you want details information about any command, then you should use -m option for this. As you can see in the screenshot below, -m has been used to get details information about the cd command.

help -m cd
output in pseudo-manpage format

syntax of the specified command If you want to know the syntax of any command with the help of help, then you have to use -s option.

help -s command_name
help -s cd
syntax of the specified command

Short Description of Command If you want to know brief information in one line of a command with the help of help, then you have to use -d option.

help -d cd
Short Description of Command

In this article, we have taught you about Linux help command with example and hope you liked this article. also Read our other blog simiservice.com articles for similar information .

also read : Linux Touch Command with example

Rate this post