Computer Science, asked by victi62121, 8 months ago

Find ip address of computer using ip command linux

Answers

Answered by Anonymous
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 N3KKI
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