BASH: Shell command to list only directories in the current working directory
To list only directories of your current working directory you can use below command
find ./* -maxdepth 0 -type d -exec basename {} \;
Comments
Post a Comment