hi, basically i need to find out how many lines are in a file. would someone please refer me a quick command?

i don't think wc would work since i need the line number.


Normally wc -l should give you the line count. wc -w gives the word count.

commented: As simple as that. +13