Posted in Command Line, Linux Find number of lines in a file Binny V A March 20, 2008 Leave a Comment on Find number of lines in a file Find the number of lines in a file using this command… cat -n file OR wc -l file Author: Binny V AA philosopher programmer who specializes in backend development and stoicism.