what is my ip address
Michael Butash
michael at butash.net
Sun Aug 30 18:08:50 MST 2020
So, I often check this in a few ways when bouncing around public internet,
but I found today a very useful thing I never knew existed. Curl has a
native script for checking this vs. pulling up google and typing "what is
my ip address" or other ways. I wish I knew this existed since like
forever.
Might be useful for systems folk, as typically any linux system I'm on
tends to have curl for other things.
[user at host ~]$ curl ifconfig.me
x.x.x.x
[user at host ~]$ curl ifconfig.me/all
ip_addr: x.x.x.x
remote_host: unavailable
user_agent: curl/7.71.1
port: 57676
language:
referer:
connection:
keep_alive:
method: GET
encoding:
mime: */*
charset:
via: 1.1 google
forwarded: x.x.x.x
HTH!
-mb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20200830/9ab41ce7/attachment.html>
More information about the PLUG-discuss
mailing list