Answers for "returns a list of the names of the directories in the path to your home directory."

2

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"
Posted by: Guest on October-09-2020

Code answers related to "returns a list of the names of the directories in the path to your home directory."

Python Answers by Framework

Browse Popular Code Answers by Language