How to grep for the whole word November 7, 2022 by Tarik You want the -w option to specify that it’s the end of a word. find . | xargs grep -sw 's:text'