what is my ip address

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Michael Butash via PLUG-discuss
Date:  
To: PLUG Phoenix List
CC: Michael Butash
Subject: what is my ip address
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@host ~]$ curl ifconfig.me
x.x.x.x

[user@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
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss