bash:files:count_the_lines_in_a_file
Table of Contents
BASH - Files - Count the lines in a file
Using awk
awk 'END{print NR}' filename
Using wc
wc -l filename
bash/files/count_the_lines_in_a_file.txt · Last modified: 2022/06/13 10:18 by peter