How to only return the 1 match then quit?

2011-11-19 Thread Peng Yu
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? -- Regards, Peng

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

2011-11-19 Thread Eric Blake
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 ebl...@redhat.com+1-919-301-3266 Libvirt virtualizati