Find number of lines in a file

Tagged with: , , , , ,

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


cat -n file
OR
wc -l file

Leave a Reply