DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+7 =
Submit