Linux terminal view public IP skills

  
                

The IP in the Linux system includes public IP and private IP. When viewing the Linux system IP, most of the time it is found to be private IP. So how do Linux terminals view public IP? Let's take a look at the introduction.

Curl plain text output:

curl icanhazip.com

curl ifconfig.me

curl curlmyip.com

curl ipecho.net/plaincurl www.trackip.net/i

curl JSON format output: < Br>

curl ipinfo.io/json

curl ifconfig.me/all.json

curl www.trackip.net/ip? Json (a bit ugly)

curl XML format output:

curl ifconfig.me/all.xml

curl Get all IP details (excavator)

curl ifconfig.me/all Previous12Next page Total 2 pages

Copyright © Windows knowledge All Rights Reserved