List only directories ls -d /tmp/*/ -d - will list subdirectory name instead of its contents /tmp/*/ - will list all subdirectories of /tmp