file:count_the_lines_in_a_file_that_have_a_specific_string
File - Count the lines in a file that have a specific string
awk '/string_to_find/{n++}; END {print n+0}' filename
file/count_the_lines_in_a_file_that_have_a_specific_string.txt · Last modified: 2020/07/16 10:55 by 149.202.82.11