What’s the best way to find a string/regex match in files recursively? (UNIX) September 27, 2023 by Tarik grep -r REGEX . Replace . with whatever directory you want to search from.