Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
One-liner that lists all the directories in a give path, one line at a time
find -maxdepth 1 -type d -print | grep -v \\.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment