Created
September 13, 2019 04:59
-
-
Save kevinhooke/bc2ba9b1d4bc060be41b5bb337209dc0 to your computer and use it in GitHub Desktop.
ls list dirs in a single column
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#from https://stackoverflow.com/questions/14352290/listing-only-directories-using-ls-in-bash-an-examination | |
ls -d */ | cut -f1 -d'/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment