How do I search man pages for options? I currently do this:
/-<option>
Example:
To see what grep -i does, I do this:
man grep
and then
/-i.
Or, I can do this:
man grep | grep .-i
Is there a better way of searching man pages for options?
How do I search man pages for options? I currently do this:
/-<option>
Example:
To see what grep -i does, I do this:
man grep
and then
/-i.
Or, I can do this:
man grep | grep .-i
Is there a better way of searching man pages for options?
You can redirect the man output to gedit and then use "ctrl+F" to find whatever you want to.
man grep | gedit
which will show you man page of grep in a gedit window. Use find option. :)