Find ip address of computer using ip command linux
Answers
Answered by
0
Answer:
You can determine the IP address or addresses of your Linux system by using the hostname , ifconfig , or ip commands. To display the IP addresses using the hostname command, use the -I option. In this example the IP address is 192.168.122.236.
Answered by
1
The following commands will get you the private IP address of your interfaces:
ifconfig -a.
ip addr (ip a)
hostname -I | awk '{print $1}'
ip route get 1.2. ...
(Fedora) Wifi-Settings→ click the setting icon next to the Wifi name that you are connected to → Ipv4 and Ipv6 both can be seen.
nmcli -p device show.
Similar questions