ls */ -d|wc -l works too Petrov M.I. wrote:
Hi. May be `ls -F | grep "^.*/$"' ? -- "Change your thoughts and you change your world."