linux find directory by name code example
Example 1: terminal how to find a directory
find . -type d | grep DIRNAME
Example 2: linux find directores
find -type d -iname $name
Example 3: find by name linux
# dot is curr dir
find . -name "*.txt"
Example 4: search a folder in linux
$ locate --basename '\pkg'