Simple: ifconfig | grep –color -E ‘^|[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}’ nJoy 😉
Color highlight IPs in stream with grep
Posted on
Simple: ifconfig | grep –color -E ‘^|[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}’ nJoy 😉
To search for text through the entire filesystem from the current path down in Linux use the following : find / -type f -print0 | xargs -0  grep -l  "string to search" 2>/dev/null