The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
man pages - they are searchable 28 March 2000
Need more help on this topic? Click here
This article has no comments
Show me similar articles
I learned something the other day on undernet #freebsd which I think everyone should know.  You can search a man page.  WOW!

It appears that man accepts vi-like commands.  The search command is /texttosearchfor.   For example, if you are looking at man dump, and you want to find references to tape, you should type this:

/tape

This will take you to the next occurrence of the word tape.  To go to the next occurrence, just type:

/

And ? will take you to the previous occurrence.

Other commands I have found are:

:q - exit man


Need more help on this topic? Click here
This article has no comments
Show me similar articles