Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

count new lines bash

command | wc -l  
wc -l < some_file.txt
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #count #lines #bash
ADD COMMENT
Topic
Name
4+1 =