I have lines like these, and I want to know how many lines I actually have...
09:16:39 AM all 2.00 0.00 4.00 0.00 0.00 0.00 0.00 0.0
Redirection/Piping the output of the file to wc -l should suffice, like the following:
wc -l
cat /etc/fstab | wc -l
which then would provide the no. of lines only.