To only directories of current working directory, we can either use echo */ or ls -d */ command.
echo */
ansible/ caddy/ cheatsheets/ docker/ git/ github/ go/ learning-resources/ linux/ miscellaneous/ python/ reactjs/ vagrant/ vscode/ wsl/ls -d */
ansible/ caddy/ cheatsheets/ docker/ git/ github/ go/ learning-resources/ linux/ miscellaneous/ python/ reactjs/ vagrant/ vscode/ wsl/Source: StackOverFlow