Listing only directories in UNIX

Try this ls -d */ to list directories within the current directory


Try this:

find . -maxdepth 1 -type d