2
I use the ack tool to find string or IP address in file system
but please see the follwoing
why ack not find the IP = 10.45.45.130 under /etc/sysconfig/*
the IP = 1:10.45.45.130 exist under network dir in uoo file
lidia
./ack -r 10.45.45.130 /etc/sysconfig/*
<not get anything?>
./ack -r 10.45.45.130 /etc/sysconfig/network/*
/etc/sysconfig/network/uoo
1:10.45.45.130
example of uoo file
more /etc/sysconfig/network/uoo
10.45.45.130
Even better than -a is --text. – Andy Lester – 2010-09-07T14:17:22.280