Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

count new lines bash

command | wc -l  
wc -l < some_file.txt
 
PREVIOUS NEXT
Tagged: #count #lines #bash
ADD COMMENT
Topic
Name
5+8 =