Answers for "get total number of lines in all files in directory"

1

How to count number of files in each directory

du -a | cut -d/ -f2 | sort | uniq -c | sort -nr
Posted by: Guest on June-11-2020
1

count number of lines in directory linux

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

Code answers related to "get total number of lines in all files in directory"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language