Count multiple files lines with wc
Ok this is probably granted, but I didn’t know wc was able to read and count from multiple files at once.
# From standard input cat *.pl | wc -l # From list wc -l file1.pl file2.pl
Ok this is probably granted, but I didn’t know wc was able to read and count from multiple files at once.
# From standard input cat *.pl | wc -l # From list wc -l file1.pl file2.pl