search folders in linux terminal code example
Example 1: find folder in linux
find / -name "dir-name-here"
Example 2: search a folder in linux
$ locate --basename '\pkg'
find / -name "dir-name-here"
$ locate --basename '\pkg'