bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to only return the 1 match then quit?


From: Eric Blake
Subject: Re: How to only return the 1 match then quit?
Date: Sat, 19 Nov 2011 09:15:13 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1

On 11/19/2011 08:44 AM, Peng Yu wrote:
> Hi,
> 
> I'm not able to find an argument so that find will only return the
> first match then quit. Could you please let me know if there is such
> an option?

find ... -print -quit

-- 
Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]