Forum Thread: Get External Ip [ Python Script ]

11 Responses

Cool script!

Wouldn't it be easier though to just open a link that tells you your IP?

Anyways, thank you!

I supose this is made to get your own external IP without leaving the console with a single command. It's faster and cooler than browsing, and making it is a good exercise.

Yeah, especially, if you don't have access to a GUI... but that's what W3M is for, right?

That program looks interesting, I'll check it out later :)

I think getting a command to just spit your external IP is faster and convenient (and elegant, why not?).

Hey, lets make one in C and send it to Debian...

I'd like to, but I wasn't very proficient in C, and I haven't used it since 2013, I think. Doesn't look too hard, though.

...not hard until you get to networking. ;)

Do you mean by checking it manually ?

curl -s | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
Changed my mind.

That's what I thought... no need for a whole script.

Share Your Thoughts

  • Hot
  • Active