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!


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/20120104152252.GB32607@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx



Relevant Pages

  • Re: word selection problems using less
    ... On 10/16/2007 05:03 AM, michael wrote: ... That should place the filename on one line. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ... Trouble? ...
    (Debian-User)
  • libcbtsysinfo in /home/user
    ... It contains cbt/lib/libcbtsysinfo_0.so and google draws a blank on that filename. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ... Trouble? ...
    (Debian-User)
  • piping find to zip -- with spaces in path
    ... But it fails if there are spaces in the path or filename. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • see what files are touched by a program
    ... Something like "filestouched vi filename" which would then report ... Kind regards, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: which is the best way to find some files
    ... Haha, that should be "thanks Tony", I just started using Evolution and I ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)