Roy Britten wrote:

On Wed, 2006-05-10 at 10:00 +1200, Steve Holdoway wrote:
sudo "find /etc -type f -print0 |  xargs -0 grep -l eth1"

sudo find /etc -type f -exec grep -l eth1 \{\} \;

cuts down on typing :)

There shouldn't be any pipes in /etc (not true of /var), so in this case
sudo fgrep -rl eth1 /etc
would suffice.

:)

Cheers, Rex

Reply via email to