Typically, I prefer Perl Regex for this. For example: grep -PHn '\bwho\b' file1
The -P option enables Perl Regex, the -H option prints the filename of any match, and the -n option prints the line number of the match. In Perl Regex, \b matches a word boundry.