Color highlight IPs in stream with grep

Simple:

ifconfig | grep –color -E ‘^|[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}’

nJoy 😉

Leave a Reply

Your email address will not be published. Required fields are marked *