Linux mon IP
# ifconfig is now ->
ip a
Fahim Foysal
# ifconfig is now ->
ip a
ifconfig -a
$ hostname -I
curl ifconfig.me
# The following commands allow you to get ip address in Linux. Open a terminal. Type any of the following command. Press Enter. The Ip address is next to inet.
ip address
ip address show eth0
ifconfig -a
ifconfig eth0
ip route
ip route show dev eth0
ip addr
ip addr show
ifconfig -a
ip route