ubuntu:network:get_local_ip_address
This is an old revision of the document!
Ubuntu - Network - Get local IP address
ip route get 1 | sed 's/^.*src \([^ ]*\).*$/\1/;q'
ip route get 1 | awk '{print $7}'
ubuntu/network/get_local_ip_address.1598388009.txt.gz ยท Last modified: 2020/08/25 20:40 by 192.168.1.1