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
Source by devconnected.com #
PREVIOUS
NEXT
Tagged:
#How
#count
#number
#files
#directory
ADD COMMENT
Topic
COMMENT
Name
1+1 =
Submit