ip address ubuntu code example
Example 1: ip address ubuntu
ip address show
Example 2: how to get ip address in ubuntu
Open your command prompt and type following command shown below and press enter
ifconfig -a
Example 3: IP adress terminal
# when you're on your terminal Window :
ipconfig
# on macOS :
ifconfig | grep "inet" | grep -v 127.0.0.1
# on Linux :
hostname -I
Example 4: get ip address linux
curl ifconfig.me
Example 5: ip info on ubuntu
$ systemd-resolve --status | grep Current