[ale] using find

Mike Kachline kachline at brightstar.gt.ed.net
Mon Aug 21 11:37:16 EDT 2000


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.





More information about the Ale mailing list