LinuxQuestions.org
(
/questions/
)
-
Linux - General
(
https://www.linuxquestions.org/questions/linux-general-1/
)
- -
Grep lines
(
https://www.linuxquestions.org/questions/linux-general-1/grep-lines-169027/
)
gsibble
04-12-2004 01:17 AM
Grep lines
Say I have a grep of a file.....how do I count how many lines came out in the grep? IE. how many lines had a hit......?
Thanks!
whansard
04-12-2004 01:30 AM
pipe it through wc -l
All times are GMT -5. The time now is
01:33 AM
.