[lug] Grep question

Daniel Webb lists at danielwebb.us
Thu Jul 22 22:38:40 MDT 2004


I was wondering: what is the best way to search everything within a
directory tree, including everything inside .tar, .gz, .bz2, .tar.bz2,
.tar.gz files?  I have used grep -r, and Debian also has zgrep, which
handles plain and .gz, but doesn't sport the recursive option.  What's the
solution that does everything I want?

Daniel




More information about the LUG mailing list