Count folders on linux

Standard
for count all folder on linux 

example: 

cd /home/users/

how to count folder on that folder ?

type: 
ls -lR | grep ^d | wc -l

Facebook Comments

Leave a Reply