Tuesday, April 10, 2007

Grep & Find

Find all files which contains " test ":
grep -lri "[[:space:]]test[[:space:]]" *

Find all files with the name test
find . -name "test"

No comments: