how to check particular word count in a file in linux code example Example: count occurrences of word in file linux grep -wc "your_text" FileName