[ale] using find

Gary Maltzen maltzen at mm.com
Mon Aug 21 18:38:08 EDT 2000


Why not just use the "-r" option of grep...

  grep -r -s 216\.151\.155\.78 /

> 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
>
> also tried
>
> find / -exec grep 216.151.155.78 {} >IPADDRESS \;


--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list