Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

grep count words

grep -o -w 'word' /path/to/file/ | wc -w
Source by www.cyberciti.biz #
 
PREVIOUS NEXT
Tagged: #grep #count #words
ADD COMMENT
Topic
Name
8+7 =