DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
How to count number of files in each directory
du -a | cut -d/ -f2 | sort | uniq -c | sort -nr
PREVIOUS
NEXT
Tagged:
#How
#count
#number
#files
#directory
ADD COMMENT
Topic
COMMENT
Name
3+1 =
Submit