6 lines
119 B
Plaintext
Raw Normal View History

2018-06-21 22:49:50 -05:00
echo Public IP-
curl -s icanhazip.com
echo
echo Local IP-
ifconfig | grep "inet" | grep "broadcast" | awk '{print $2}'