linux find any files with name code example
Example 1: linux find any file linux
#find a file and print with path
find . -print | grep -i *.txt
Example 2: linux find all files name containing string
find . -name "*ABC*" -exec grep -H 'XYZ' {} +
#find a file and print with path
find . -print | grep -i *.txt
find . -name "*ABC*" -exec grep -H 'XYZ' {} +