12 Linux Which Command, Whatis Command, Whereis Command Examples
Posted on: 04/23/2013 06:01 PM

The Geek Stuff posted a tutorial that will explain the three W commands. The three Ws are whatis, whereis and which commands.

12 Linux Which Command, Whatis Command, Whereis Command Examples


Whatis command is helpful to get brief information about Linux commands or functions. Whatis command displays man page single line description for command that matches string passed as a command line argument to whatis command. Whatis command searches for string in its index databases which is maintained by mandb program. Whatis command picks short description of NAME section of man page of command that matches to input given to the whatis command.

Whatis provides several command line options to help user in getting brief information of specific Linux commands as per their need or interest.



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/12_linux_which_commandwhatis_commandwhereis_command_examples.html)