linux search folder command 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'
find . -type d | grep DIRNAME
find -type d -iname $name
$ locate --basename '\pkg'