Answers for "bash get nic ip address"

1

bash get current ip

curl -4 ifconfig.co
Posted by: Guest on June-24-2021
20

display ip address linux

#private ip
hostname -I
or
ifconfig
or
ip addr show

#public ip
curl ifconfig.me
Posted by: Guest on December-02-2020

Browse Popular Code Answers by Language