#navbar { (To hide nav bar in blogger) height: 0px; visibility: hidden; display: none; }

Thursday, May 6, 2010

 

All About info, man, whatis, whereis, --help Commands

All About info, man, whatis, whereis, --help Commands

Do you know what dmidecode command will do?
Ans : Are you going to search in google about dmidecode? No need to search boss. No need to go any where. Linux provied many help tools to know more about a command. This post is all about these commands they are as follows.

1.info command
2. man command
3. --help option
4. whatis command
5. whereis command

First command in this list is info
1. info command(Information command) :
info is a good command which will describe all about the command in detail. Its like lots and lots of pages of information will be there for a single command.

Example :
info ls
The above command will show full help about ls command which is of 10 pages. This will give full information.

2. man command(manual command)
This will give little bit less descriptive but will provied information which you require, and most of the times each option of a command will be described in one sentence and some times in paragraphs.

Example :
man ls

3. --help option
This option is to give one line discription to each option of the command

Example :
ls --help
Please remember --help may present or not present to a command.

4. whatis command
This will show one line description to a give command,
whatis ls

5.Last but not least
 whereis this is not a help command but i feel describing this here. This command will show the location of any command.
whereis ls

Comments:

Post a Comment

Subscribe to Post Comments [Atom]





<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]