You can use find and grep to search for a particular string (string_pattern) in a selection of files:
> find <dir> -name "<file_find_pattern>" -exec grep -H -n '<string_pattern>' {} \;
Wednesday, September 15, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment