how to search directories inside of directories code example Example: search a folder in linux $ locate --basename '\pkg'