allter: (Default)
allter ([personal profile] allter) wrote in [personal profile] vitus_wagner 2017-03-16 10:23 am (UTC)

> Условно говоря, получение ip-адреса для eth3 будет выглядеть так: ip -j a l|jq .eth3.ipv4.address[0].

Скорее, если я правильно вас понял, будет что-то вроде:


SomeInterpreter.exe /eval "import System; WriteLn( System.getNetworkStackInterface('eth3').getAddress( System.Network.NET_IPV4 ) )"


Утилиты для этого не нужны. :)

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting