ls -d */

Category: Navigation & Directory

ls -d */

List only directories in the current directory

Lists only the directories (folders) in the current location, ignoring regular files. The */ glob matches items with a trailing slash (directories).
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.