linux find all directories with 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: search a folder in linux
$ locate --basename '\pkg'