How to find directory with terminal In Ubuntu

$ find . -type d | grep <dir name>


Output

./topy
./topy/.git
./topy/.git/refs
./topy/.git/refs/tags
./topy/.git/refs/heads
./topy/.git/refs/remotes
./topy/.git/refs/remotes/origin
./topy/.git/hooks
./topy/.git/objects
./topy/.git/objects/3c
./topy/.git/objects/a1
./topy/.git/objects/b3
./topy/.git/objects/79

Comments