Re: Questions!

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

 



sorry, but that is NOT correct either.

he is looking for files that content the string "index.html"
within the file,
NOT the file name.


----- Original Message ----- 
From: "urgrue" <urgrue@xxxxxxxxx>
To: "admin" <linux-admin@xxxxxxxxxxxxxxx>
Sent: Thursday, April 01, 2004 1:50 AM
Subject: Re: Questions!


> i always simply use:
> grep -r index.html /some/path/*
> 
> 
> > Hal Wigoda wrote:
> > 
> > > 2) find  <dirname> -print -type f | xargs grep -l index.html
> > 
> > Or, if you need to handle filenames which contain whitespace
> > characters:
> > 
> > find  <dirname> -type f -print0 | xargs -0 grep -l index.html
> > 
> > --
> > Glynn Clements <glynn.clements@xxxxxxxxxx>
> > -
> > : send the line "unsubscribe linux-
> > admin"
> > in
> > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > 
> > 
> -
> : send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux