Table of Contents
BASH - Files - Count the lines in a file
Using awk
Using wc
BASH - Files - Count the lines in a file
Using awk
awk
'END{print NR}'
filename
Using wc
wc
-l
filename