Dapatkan Daftar Direktori Bash
for d in */ ; do
echo "$d"
done
Prickly Pheasant
for d in */ ; do
echo "$d"
done
find . -type d -iname "<your regex>" -printf '%f\n'
ls -d */
# * matches everthing
# / restrics * "everything" to "subdirectories"