Answers for "count line in file"

1

count lines in file python

num_lines = sum(1 for line in open('myfile.txt'))
Posted by: Guest on November-17-2021
1

count lines in files

find . -name '*.php' | xargs wc -l
Posted by: Guest on September-08-2020

Code answers related to "count line in file"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language