Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 5
    how is this answer better/different from the other 22? Commented Jan 5, 2017 at 2:57
  • This is definitely not the best answer. WouterD's answer is the answer you're looking for. Commented Jun 12, 2018 at 23:48
  • 14
    @M.Vanderlee this answer has a command that is easier to remember, which makes it a better answer IMO. Commented Jul 5, 2018 at 12:25
  • 2
    @WouterHuysentruit Sure, but you get multiple entries and the actual "IPAddress" text. You can't use it in a script without further manipulation. Commented Jul 6, 2018 at 2:33
  • You're right. In the context of the question, the other answer fits better. Commented Jul 6, 2018 at 5:12