how do i use find to find a directory code example Example: search a folder in linux $ locate --basename '\pkg'