[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Finding files containing 'string'



On Wed, 2006-02-01 at 16:31, akonstam 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 gmail com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]