Difference between revisions of "Private IP"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
  
* macOS: <code>for DEVICE in $(networksetup -listallhardwareports | grep Device | cut -d" " -f2); do echo $DEVICE; ipconfig getifaddr $DEVICE; done</code>
+
* macOS: <code>for DEVICE in $([[networksetup -listallhardwareports]] | grep Device | cut -d" " -f2); do echo $DEVICE; [[ipconfig getifaddr]] $DEVICE; done</code>
  
 
== Related ==
 
== Related ==

Revision as of 09:33, 22 November 2023

Advertising: