linux terminal command to find the location of a directory code example
Example 1: terminal how to find a directory
find . -type d | grep DIRNAME
Example 2: search a folder in linux
$ locate --basename '\pkg'
find . -type d | grep DIRNAME
$ locate --basename '\pkg'