On Wed, Jan 04, 2012 at 12:42:36PM +0100, pedro insua wrote: > 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" */*/*
> I think .. is about files content, not file name. > Maybe this one? : find . -type f -name "*7.9*" -exec grep -H . {} \; W. Fokken -- 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/20120104120128.gb8...@fok01.laje.edewe.de