sed:count_lines_in_a_file
SED - Count - Count lines in a file
Emulates “wc -l”.
sed -n '$=' filename
Example
sed/count_lines_in_a_file.txt · Last modified: 2020/08/16 12:33 by 192.168.1.1
Emulates “wc -l”.
sed -n '$=' filename