beatrice-m
3/1/2017 - 12:54 AM

Count number of lines in each file

Count number of lines in each file

# Returns the number of line of a file as a variable
$(wc -l finename | awk '{print $1}')