Answers for "grep number of lines"

1

grep count lines

cat -n myfile
Posted by: Guest on October-14-2020
1

grep count lines

wc -l myfile
Posted by: Guest on October-14-2020
0

grep count lines

grep -c ^ filename
Posted by: Guest on October-14-2020

Browse Popular Code Answers by Language