njwh
0
Q:

count occurrences of word in unix bash

$ grep -o -i needs inspire.txt | wc -l
1
grep -wc "your_text" FileName
0

New to Communities?

Join the community