I want to search through my whole system for references to a particular IP address which may be in some obscure config file.`grep -ir "192.168.0.1" /* 2>/dev/null`
How might I do this, outputing a list of files containing the IP address?
-- Peter George Training Manager Net Resources Ltd, 26 Palmerston Place, Edinburgh, EH12 5AL T: +44 131 477 7127 F: +44 131 477 7126 http://www.netresources.co.uk <http://www.netresources.co.uk/>
This will give you the filename and the line from that file. eg.. /etc/crazy_config_file:$MAD_IP="192.168.0.1"
-- Barrie Dempster
Description: OpenPGP digital signature
This archive is kept by email@example.com.DONTSPAMME||homepage|