linux find files containing name code example Example: linux find all files name containing string find . -name "*ABC*" -exec grep -H 'XYZ' {} +