find where is a directory in whole systelm linux code example
Example 1: linux find directores
find -type d -iname $name
Example 2: search a folder in linux
$ locate --basename '\pkg'
find -type d -iname $name
$ locate --basename '\pkg'