How to count the number of lines in a file in linux shell command

by Nirmala 2010-01-28 16:47:11

Count the number of lines in a file
If i have a file called text.txt and i want to know how many lines this file has, all if would have to do is send this command:
wc -l my_text.txt

Tagged in:

903
like
0
dislike
0
mail
flag

You must LOGIN to add comments