how do i recursively grep all directories and subdirectories ?
find . | xargs grep "texthere" *
how do i recursively grep all directories and subdirectories ?
find . | xargs grep "texthere" *
Also:
find ./ -type f | xargs grep "foo"
but grep -r is a better answer.
Or install ack, if you want a much faster way and are doing this a lot.