command line search for folder linix code example Example: search a folder in linux $ locate --basename '\pkg'