is the command that you need in the terminal that is opened in a certain folder to list only the sub-directory names and not the sub-directories content.
I use it for instance to make a text file to list music and ebook folders I have.
STumbling In Linux Land, STupid and Unlucky Pablo? The tribulations and happy discoveries of a Linux former Newbie, now bit more experienced user