Java, J2EE, SQL, Frameworks, APIs, Exceptions and more..
Pages
Home
About
Guest Post
Tuesday, January 22, 2013
Linux - Commands for Grep or Search recursively
Below are the commands for -
Grep
for a particular text recursively
find ./ -name "*" | xargs grep "text" {} 2>/dev/null
Search
for a particular file recursively
find ./ -name "*.properties" 2>/dev/null
Newer Post
Older Post
Home