Sys Admin Tips
Share tips I like from different web pages and my own experiments
Sunday, November 20, 2011
find a string using commandline in linux
grep -r "string" *
find . | xargs grep 'string'
find . -exec grep string {} /dev/null \;
1 comment:
Sibin
November 28, 2011 at 1:50 PM
find / | xargs grep 'string' -sl
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
find / | xargs grep 'string' -sl
ReplyDelete