Skip to content

Instantly share code, notes, and snippets.

@taktran
Created March 24, 2015 14:04
Show Gist options
  • Save taktran/05c0a13f5bb7f400f4a2 to your computer and use it in GitHub Desktop.
Save taktran/05c0a13f5bb7f400f4a2 to your computer and use it in GitHub Desktop.
Get wlan0 ip address on a Raspberry Pi
ifconfig wlan0 | grep 'inet addr' | awk '{print $2}' | awk -F: '{print $2}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment