E&ICT IIT Roorkee - Data Engineering Course at Rs. 2,999 (90% OFF) | Expires in

 Enroll Now

Linux Basics

31 / 86
   

Use wc command

To find the number of characters, words, and lines, use wc command.

If you are only looking for number of lines you could use:

wc -l