Bash script: How to extract IPv4 and IPv6 addresses in Linux with ip command and regular expression
Using the ip command and regular expression, a Linux shell script has been written that extracts all the IPv4 and IPv6 addresses on the Linux system and prints them in the output.
Linux Shell Script to Identify Network Interfaces and Their Types without any command
Bash script to display IP addresses of network interfaces with ip command
https://youtu.be/IDpSc45NzXc
ipv4