Obtain global IP in bash

In current Internet environment, every PC is assigned a private IP. If global IP is necessary, the router the PC is connecting has the IP. But accessing the router typically needs the password to access that should not appear on a bash script. If you access http://checkip.dydns.com/, it returns the global IP, then the bash… Continue reading Obtain global IP in bash

Published
Categorized as net Tagged ,