locate string terminal code example Example: find string terminal grep -r 'pattern_to_match' directory_to_search