if you are a linux user like i am, im the administrator to a linux machine and often i do admin through ssh so if you are wondering what is the command to only show and display directory and its directories but not the files, here is an example..

lets say i have some files and some directories in the /www/web/public directory, so if i only want to display the current directories in /www/web/public i would execute this linux shell command:

ls -d */

hope this helps