On 4 January 2012 12:19, Wilko Fokken <wfok...@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-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: http://lists.debian.org/20120104111917.ga8...@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 / \ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAHBBs9RjTqRE_bVcvLwfSf8pRy+5MG¾uuu7augfvo1lje...@mail.gmail.com