grep grep -r --include="*.h" "text_you_want_to_searh" ./ used to search text_you_want_to_searh in all *.h recursively find find ./ -name "core.*" -size +1G #find with size > 1G that file name starts with "core."