Finding files containing 'string'
Les Mikesell
lesmikesell at gmail.com
Wed Feb 1 22:41:52 UTC 2006
On Wed, 2006-02-01 at 16:31, akonstam at trinity.edu wrote:
> > --
> I had two suggestions:
> 1. gnome-search-tool
> 2. find ./ -name "*" -exec grep "string" {} /dev/null \;
>
> Someone suggested even a better command solution than 2. above but I
> can't remember what it is.
> --
find . -type f -print0 |xargs -0 grep "string"
should work.
--
Les Mikesell
lesmikesell at gmail.com
More information about the users
mailing list