few ways to see which files contain a string
find . -name \*config -print -exec grep "sam:" {} \; > /tmp/find_out
grep -H -r "sam:" ./
grep -lir "text to find" *
grep -i -n ‘text to search' *
grep --with-filename --line-number `find -type f`
Friday, August 29, 2008
Subscribe to:
Posts (Atom)