[Eug-lug] cat directory |grep results??
Allen Brown
abrown at peak.org
Sat Jul 8 13:49:13 PDT 2006
Mr O wrote:
> What I've got going on is a borked Firefox because of libbeagle.
> So, how can I fish for any lines containing 'beagle' in my
> ".mozilla" directory? I prefer not to nuke my profile if I don't
> have to.
>
> TIA,
> Mr O.
If the number isn't too large
grep beagle $(find . -type f) | less
For very large numbers of files
find . -type f -exec grep beagle {} /dev/null \; | less
--
Allen Brown abrown at peak.org http://www.peak.org/~abrown/
Anti-intellectual: Never trust anyone with an IQ over 30.
More information about the EUGLUG
mailing list