Month-end Sale | Flat 70% Off on All Courses (Big Data, Data Science, AI/ML, Python) | Expires in

  Enroll Now

Linux Basics

32 / 87
   

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