Grep / ACK
Ack can be replacement for grep…..
# yum install ack
Suppose you are on /var/www/html, here you want to search text “svnlabs” in all files in current directory…. you can use:
# ack svnlabs
# man ack (for more options)
grep : print lines matching a pattern.
find : search for files in a directory.
# grep -iR 'svnlabs' *.txt (It will search svnlabs in all text files in current directory)