ubuntu:networking:get_local_ip_address
Differences
This shows you the differences between two versions of the page.
ubuntu:networking:get_local_ip_address [2021/01/08 14:50] – created peter | ubuntu:networking:get_local_ip_address [2021/02/03 20:16] (current) – peter | ||
---|---|---|---|
Line 21: | Line 21: | ||
<code bash> | <code bash> | ||
192.168.1.69 | 192.168.1.69 | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | <code bash> | ||
+ | ip -4 addr show | awk ' | ||
</ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | 192.168.1.69 | ||
+ | 10.0.3.1 | ||
+ | </ | ||
+ |
ubuntu/networking/get_local_ip_address.1610117432.txt.gz · Last modified: 2021/01/08 14:50 by peter