[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] using find
- Subject: [ale] using find
- From: kachline at brightstar.gt.ed.net (Mike Kachline)
- Date: Mon, 21 Aug 2000 11:37:16 -0400 (EDT)
On Mon, 21 Aug 2000, Ken Nagorski wrote:
> Hi,
>
> I want to search an entire file system and pipe the output to a
> file. This is waht I tried, doesn't redirect? anyone know why? Or have a
> better way to find a string. If you are wondering what this is I am trying
> to find out where the new Debian dist "potato" stores the IP address's for
> when it boots and sets up networking.
>
> find / -exec grep 216.151.155.78 {} \; >IPADDRESS
<snip>
My hunch is that you need to escape out the "." for grep...
find / -exec grep 216\.151\.155\.78 {} \; > IPADDRESS
- Mike
======================================
Michael Kachline
mailto:kachline at brightstar.gt.ed.net
http://brightstar.gt.ed.net/kachline
======================================
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.