tokerago13
Programmer
Hi,
I'm trying to count the total number of lines in a file.
When I use wc -l FILENAME, I get the number of lines and the filename. I only want the number returned to use in my script.
How do I go about this?
T
I'm trying to count the total number of lines in a file.
When I use wc -l FILENAME, I get the number of lines and the filename. I only want the number returned to use in my script.
How do I go about this?
T