Squarepoint Capital interview question

how to find a word in a file using a linux command