up:: Termux source:: How to Get the (Public) IP Address of the Device? : termux ifconfig。 ipコマンドがLinuxでは主流らしい。