How to get HELP of any command in Ubuntu/Linux from command line?
HELP is not a command mind well.
We have man pages to get help of any commands.
But what is the right way?
(* Here you can write name of command of which you require help)
When we right man with command name on command line, you will get long list
For example if I write following command:
It will give everything related to “ls” command, and it is of many pages help.
If you don’t want all information, you may feel, OMG…what to do with all this stuff….?
So, here lets see some helpful trick is use commands help
First one is…. “whatis”
whatis – is useful when you know name of command but don’t know what it is for?
This command give you one liner answer that the command you have written will do what?
Or you may use…
$man –f grep
You can see, both are same.
$man –k grep
This will give you a list of command related to grep
It is also same as apropos command (we are not going to discussed apropos this time)
Happy Learning !!