title: adb command for getting ip address assigned by operator
body: <p>I need to fetch the IPaddress assigned by the operator after a successful 3G or LTE data call.</p>
  
  <pre><code>$adb shell netcfg &gt;&gt; doesnt have the assigned IP address.
  </code></pre>
  
  <p>I tried <code>adb shell dumpsys</code> and grep ip address, but in vain. Any help/pointers?</p>