Find directory

find <dir> -maxdepth 1 -type d -name '*foo*' -print -quit
Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on whatsapp