search for a function in folder of files grep code example Example: linux search for line in file grep -R "keyword" /directory/