On 08/25/2011 06:46 PM, Peng Yu wrote:
Hi,By default, find will look for all the matches. Is there a way to let find only get the first match and then return?
find ... -print -quit does your normal ... find, prints the first answer, then quits. -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org