how to search for a folder name in linux code example Example: search a folder in linux $ locate --basename '\pkg'