how to make a find in terminal too all the directories code example Example: search a folder in linux $ locate --basename '\pkg'