# Find number of lines in a file

Find the number of lines in a file using this command…


cat -n file
OR
wc -l file