LoginSignup
1
2

More than 1 year has passed since last update.

グローバルip取得コマンド

Last updated at Posted at 2019-09-23

忘れがちなのでメモ

Linux

$ curl ifconfig.io

Powershell

(Invoke-WebRequest -Uri "inet-ip.info/ip").Content

最近グローバル ip 取得して処理するスクリプト書くことが多く、毎度忘れるのでメモ。

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2