get just the number of lines from wc in bash wc -l < file_name wc : Print newline, word, and byte counts. The -l option print only the line counts. 2021-10-27 by myriad linux 0