Percorrer Directoria shell script

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