The easiest way to find your public IP from the console is by executing this command.
curl ifconfig.me
Another method is to run this command instead.
wget -q -O checkip.dyndns.org|sed -e s/.*Current IP Address: // -e s/<.*$//
The easiest way to find your public IP from the console is by executing this command.
curl ifconfig.me
Another method is to run this command instead.
wget -q -O checkip.dyndns.org|sed -e s/.*Current IP Address: // -e s/<.*$//