awk to search the string and count for total in a one liner
38071
Count records matching pattern with Awk
8720
How to count rows?
153536
number lines in a file
47615
Awk: if pattern not found add some text at the end of file
31517
Using awk to sum the values of a column, based on the values of another column
22740
Delete the nth line from a matched string (which only occurs once in the file)
68950
Count all occurrences of a string in lots of files with grep
34898
How does awk '!a[$0]++' work?
48678
String count with overlapping occurrences
92432
Matching text using grep or awk
118889
How to get line count of a large file cheaply in Python?
146692
Need to sum of last column based on pipe delimiter
117368
How to Tail -f output with colors using only Awk and show the rest of the output?
22055
How to find files containing two strings in different lines
100911
How to "grep" for line length in a given range?
132364
How to compare strings in Bash
83680
Counting lines of code?