Skip to content

Instantly share code, notes, and snippets.

@romaonthego
Created March 8, 2011 01:53
Show Gist options
  • Select an option

  • Save romaonthego/859697 to your computer and use it in GitHub Desktop.

Select an option

Save romaonthego/859697 to your computer and use it in GitHub Desktop.
Local IP on Debian/Ubuntu
ifconfig|grep 'inet addr'|awk '{print $2}'|sed 's/addr://g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment