FIND

Any file in unix that starts with a ".", like .profile, is a hidden file. That's how that works

to include these files in your find:

ls -a

find txt in file
$ find . -name "*.log" -exec grep -l "addQuickDepositAccounts" {} \;

find file by name
$ find . -name "rc.conf" -print

$ find . -name "event*.jar"

Fine a filename that contains properties

$ find . -print | grep properties

Find a string in all directories for a string.

$ find . -exec grep "string" {} /dev/null \;


Tag Cloud