Skip to content Skip to sidebar Skip to footer

Count Pattern In A File Command Line Code Example


Example: count occurrences of word in unix bash


$ grep -o -i needs inspire.txt | wc -l

Post a Comment for "Count Pattern In A File Command Line Code Example"