How to list directories names but not their contents, in *N*X?

Solution 1:

You can try this command:

ls -d A*/

Solution 2:

If you need to do it recursively you could use

find . -type d -name A\*