Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

number of directories in a directory linux

# this is the answer without using find
ls -lR | grep ^d | wc -l
 
PREVIOUS NEXT
Tagged: #number #directories #directory #linux
ADD COMMENT
Topic
Name
6+5 =