Difference between revisions of "Private IP"
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
- macOS:
for DEVICE in $(networksetup -listallhardwareports | grep Device | cut -d" " -f2); do echo $DEVICE; ipconfig getifaddr $DEVICE; done
Related
See also
Advertising: