SyntaxFix
Write A Post
Hire A Developer
Questions
if you just want the number of occurences then you can do this, $ grep -c "string_to_count" file_name