home | contact us
» linux » Linux LS command for Directories only

BLOG CATEGORY: linux


If you have a large folder that contains a lot of files but you only want to see what directories are in there, then this little snippet is for you:

ls -d -- */

You may decide to make an alias for it

echo "alias lld='ls -alFhd -- */'" >> ~/.bashrc

Click Here to Contact Us about Linux LS command for Directories only
 

Comments

No Comments

Leave a Reply

rss icon