Para cada carpeta en Directory Bash

for d in */ ; do
    echo "$d"
done
Prickly Pheasant