find all directories with name linux code example
Example 1: linux find directores
find -type d -iname $name
Example 2: linux search all directories for file
find / -iname 'book1*'
Example 3: search a folder in linux
$ locate --basename '\pkg'