find a directory linux code example
Example 1: find folder linux
find / -type d -name 'folder_name'
Example 2: linux find directores
find -type d -iname $name
Example 3: find folder in linux
find / -name "dir-name-here"
Example 4: search a folder in linux
$ locate --basename '\pkg'