curlで調べる
curlとは
curlは、サポートされているプロトコル(HTTP、HTTPS、FILE、FTP、FTPSなど)を使用してサーバーからファイルをアップロードまたはダウンロードするための一般的なコマンドラインツールです。
curlのインストール
# apt-get install curl
調べるコマンド
下記のいずれかで調べられる
# curl ifconfig.co # curl ifconfig.me # curl icanhazip.com # curl checkip.amazonaws.com
ブラウザで調べる
What is my IP address? — ifconfig.coifconfig.co•WhatismyIPaddress?—ThebesttooltofindyourownIPaddress,andinformationaboutit. What Is My IP Address? - ifconfig.meGetmyIPAddress http://icanhazip.com http://checkip.amazonaws.com
コメント