Unix Notes - Find Text / String in Files
From the current directory and down, search for "ldapDelete
" explicitly. Hide any read/access errors (2>/dev/null)
.
find . -exec grep "ldapDelete" '{}' \; -print 2>/dev/nullFrom the current directory and down, search for "ldapdelete" WITHOUT case sensitivity.
find . -exec grep -i "ldapdelete" '{}' \; -print 2>/dev/null
No comments:
Post a Comment