Find number of lines in a file
Tagged with: command, count, file, lines, Linux, rows
Find the number of lines in a file using this command…
cat -n file
OR
wc -l file
Find the number of lines in a file using this command…
cat -n file
OR
wc -l file
This entry was posted on Thursday, March 20th, 2008 at 11:30 pm and is filed under Command Line, Linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
I am Binny V A, a freelance Web Developer on the LAMP Platform. Open Source Geek.