how to find ip address of linux vm code example
Example: display ip address linux
#private ip
hostname -I
or
ifconfig
or
ip addr show
#public ip
curl ifconfig.me
#private ip
hostname -I
or
ifconfig
or
ip addr show
#public ip
curl ifconfig.me