Link Search Menu Expand Document

ip

Get Local IP Address

ip route get 1 | sed -n 's/^.*src \([0-9.]*\) .*$/\1/p'