If you ever need to list only directories that are within a directory, you can use ls -d */ – very simple and very efficient… just like we like it 😉
List Directories Only
If you ever need to list only directories that are within a directory, you can use ls -d */ – very simple and very efficient… just like we like it 😉