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