Re: Questions!

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

 



Must be April 1.

Try it, and you'll learn that gnu grep has the "-r" flag that lets you
recurse into directories and that grep looks in files.

On Thu, 1 Apr 2004, Hal Wigoda wrote:

> 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/*

-- 
Hisashi T Fujinaka - htodd@xxxxxxxxxxxx
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte
-
: 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