Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

list only directories in bash

ls -d */

# * matches everthing
# / restrics * "everything" to "subdirectories"
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #list #directories #bash
ADD COMMENT
Topic
Name
9+6 =