I can find the subdirectories of a directory by
ls -d -- */
or
ls -l | grep "^d"
but both of these seem indirect, and I would imagine that there would be a standard way to find just the directories. Is there a right way to do this? And if not, will either of these lead to undesirable behavior on edge cases? (Symbolic links, hidden directories, etc.)

