Count all rows in file
by Taavi Rammar

In order to count all rows in file, do:
wc -l /your/file/here.txt | awk '{print $1}'

Copyright by techTips