Re: something regards "find"
On Wed, Jan 04, 2012 at 12:19:18PM +0100, Wilko Fokken wrote:
> On Fri, Dec 30, 2011 at 12:04:31PM +0800, lina wrote:
> > Hi,
> >
> > I don't know how to find one file out,
> >
> > one file contains some numbers, like
> >
> > 7.9 2.4 4.2 12.2 and etc
> >
> > I can't remember the file name. I tried:
> >
> > $ grep -e "7.9" -e "2.4" -e "4.2" -e "12.2" */*
> >
> > $ grep -e "7.9" -e "2.4" -e "4.2" -e "12.2" */*/*
>
>
> How about using "locate 7.9" ?
Unless I'm completely senile, that will only work if the filename
contains "7.9".
./tony
--
http://www.tonybaldwin.me
All Tony, all the time!
Reply to: