Tuesday, October 15, 2013

Find and search text in unix

find . -exec grep -l "entropy" {} \; 2> /dev/null

alias rgrep='find . -type f -print | xargs grep $1'


find . -type f -name post -print | xargs grep DPassword

No comments: