# 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

Author: Binny V A
A philosopher programmer who specializes in backend development and stoicism.