You're viewing a comment by Vineet Kumar and its responses.

September 01, 2008, 03:06

My first thought was the same as Uriah, though it ended up being a bit shorter anyway:

ip a | awk '/inet/{print $2}'

'ip a' is one of my most-oft-typed 4-character strings; I currently get 61 from `history | grep ip a | wc -l`.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "browser_90": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.