linux search file or folder name code example Example: search a folder in linux $ locate --basename '\pkg'