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.

thanks

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

commented: As simple as that. +13
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.