How to search across all info nodes

T

teancum144

Guest
I really find useful the ability to search across the full text of all man pages via the following command:
Code:
Code:
man -K [search term]
I'm trying to figure out how to search for a term in the full text of all info nodes. This would be very useful. Is this possible?
 


T

teancum144

Guest
That would depend on what you mean by Info Nodes.
As an example, here are a couple of suggestions:
Code:
info --apropos="search term" | more
However, this command only searches the info indices. Is there a way to search the full text of all info files?
Code:
find /usr/share/info -name "*.gz" | xargs zcat | grep -i "pattern"
However, this command doesn't return the info node's filename. Suggestions?
 
T

Thapainfo

Guest
Thanks for sharing, it is really helpful for me. keep in touch.
 



Top