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.
12 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 ?
In a bash line:
echo "Your IP is: " $(wget -O - http://checkip.dyndns.com/ |cut -d : -f 2 | tr -d "</body></html>")
;-)
curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
Changed my mind.
That's what I thought... no need for a whole script.
Try this simple script...python ipaddress
Share Your Thoughts