Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

list only directories

# List directories under the current working directory.
ls -l | grep "^d"

# List directories under the current working directory and 
# include hidden folders
ls -la | grep "^d"
Source by www.configserverfirewall.com #
 
PREVIOUS NEXT
Tagged: #list #directories
ADD COMMENT
Topic
Name
3+6 =