Hello!
Can you pls tell me how I can count lines from a file and store the numeric value in a variable without including the string part?
I used the wc command but it wasn't useful bse it also stored the string part!
Example, variable=wc -l myfile, resulted into 5 myfile.
How can I get it to store only 5?
Pls help...