Skip to content

Instantly share code, notes, and snippets.

@Toowan0x1
Created January 26, 2024 01:35
Show Gist options
  • Save Toowan0x1/64f8adc8319d10c15e84a9602893aff4 to your computer and use it in GitHub Desktop.
Save Toowan0x1/64f8adc8319d10c15e84a9602893aff4 to your computer and use it in GitHub Desktop.
ifconfig | grep inet | grep -v 127.0.0.1 | awk '{print $2}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment