Grep files containing two or more occurrence of a specific string September 20, 2023 by Tarik What about this: grep -o -c Hello * | awk -F: '{if ($2 > 1){print $1}}'