Search man pages in linux for a particular word / command.

view full story

http://techie-blogger.com – Wikipedia defines man pages as ” extensive documentation that comes preinstalled with almost all substantial Unix and Unix-like operating systems. ” .Just as the definition goes sometimes the documentation is so extensive that you are unable to find the data you need. Actually it’s not a big deal to find a particular word . You would have noticed that the usual Ctrl+F won’t work here. For finding a particular word just access the man pages by man command . Then for finding a particular ‘word’ type /word followed by Enter. Now the first word will be highlighted. For the finding the instances of that word in next pages of the man page press Space and the ‘word’ in the next page will be highlighted. That’s it. This same method also  can also  be used in vi for searching words. Here is an example. (General)