Enhance your Knowledge | Flat 25% Discount on all Courses | Use Coupon Code - ENHANCE25 During Checkout |

 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