skip to main
|
skip to sidebar
Danny's Blog
Friday, June 26, 2009
Another useful unix command to find text in many files
find . -type f -exec grep -il "text to find" {} \;
Will give you a list of all the files that contain "text to find", starting with your current directory and searching all sub-directories.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
►
2010
(5)
►
August
(1)
►
April
(2)
►
March
(1)
►
January
(1)
▼
2009
(23)
►
July
(2)
▼
June
(3)
Read-optimize your source code
Another useful unix command to find text in many f...
Useful unix command to find and replace text in ma...
►
May
(1)
►
April
(17)
About Me
Danny
View my complete profile
No comments:
Post a Comment