Computer NetworksNETWORKS

Bash script for colorize IPv4 address using regex and cut command

In this video, a shell script is written that extracts the IPv4 address fields using the cut command and prints each part in a different color using the bash color codes.

Bash script for colorize IPv4 address using regex and $BASH_REMATCH array

source

ipv4

Alice AUSTIN

Alice AUSTIN is studying Cisco Systems Engineering. He has passion with both hardware and software and writes articles and reviews for many IT websites.