Find in file


 

Sometime you need find information saved in file example you get error about wrong ip configuration but you dont know where admin save configuration.
Good resolutions is run grep on all one type file example xml or conf .

grep -r -n -i –include=”*.xml”  192.168.1.256

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s