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