Re: Questions!

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

 



On Wed, Mar 31, 2004 at 04:26:19PM -0500, Kevin J. Cummings wrote:
> Hal Wigoda wrote:
> >1) rsync
> >2) find  <dirname> -print -type f | xargs grep -l index.html
> 
> More simply:
> 
> 2) find <dirname> -name index.html -print

As the question was:
# 2)  How would you go about locating all the files in a specific
# directory tree that contain the text "index.html"?
                      ^^^^^^^

I would say Hal's answer is the correct one.

regards,
 Christian
-
: 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