Count number of lines in a file in terminal
To check the number of LINES in a file (robots.txt
in the following example), run the following command in your terminal.
wc -l robots.txt
# 15 robots.txt
robot.txt
along with the filename. Useful probably for checking length of CSVs or similar.