Thành Nguyễn
New member
How do you check IP address on Linux?
Answer
The following commands will get you the private IP address of your interfaces:
Answer
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.3.4. |
- (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.