find in all folder linux code example
Example 1: find folder linux
find / -type d -name 'folder_name'
Example 2: search a folder in linux
$ locate --basename '\pkg'
find / -type d -name 'folder_name'
$ locate --basename '\pkg'