To only list all directories in the current working directory:

Code:
ls -d */
To list the child-directories underneath mydir which is in the current directory:

Code:
ls -d mydir/*/