linux count grep results
Bash[Edit]
+
0
-
0
linux count grep results
1 2 3 4 5grep -irn "pattern" my_file.txt | wc -l # we can use wc -l # wc - word count # -l, --lines print the newline counts
1 2 3 4 5grep -irn "pattern" my_file.txt | wc -l # we can use wc -l # wc - word count # -l, --lines print the newline counts