Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

count occurrences of word in file linux

grep -wc "your_text" FileName
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #count #occurrences #word #file #linux
ADD COMMENT
Topic
Name
8+7 =