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

Re: something regards "find"



On 4 January 2012 12:19, Wilko Fokken <wfokken@web.de> 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" ?

  I think .. is about files content, not file name.

  And.. it's better use find (slower, yes). 'locate' needs update the
database to see all files.. etc

>
> Regards
>
> --
> Wilko Fokken                            Education is a man's going
> Landschaftspolder 67                    from cocksure ignorance
> D-26831 Bunde                           to thoughtful uncertainty.
> --------------------
> Tel. 04953-9219882
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 20120104111917.GA8099@fok01.laje.edewe.de">http://lists.debian.org/[🔎] 20120104111917.GA8099@fok01.laje.edewe.de
>



-- 
Porqué loitar e matar, se podes amar e sonhar

/"\
\ /  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
/ \


Reply to: