Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions pages/common/ipinfo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# ipinfo

> Official CLI for the IPinfo.io IP geolocation and network intelligence API.
> Note: Some commands will require a token from IPinfo.io.
> More information: <https://github.com/ipinfo/cli#quick-start>.

- Display details for your current IP address:

`ipinfo myip`

- Display details for a specific IP address:

`ipinfo {{ip_address}}`

- Display details for multiple IP addresses in bulk from a file:

`ipinfo bulk {{path/to/ips.txt}}`

- Display details for a CIDR or IP range:

`ipinfo bulk {{cidr_range}}`

- Display only specific fields from IP lookup results:

`ipinfo {{ip_address}} {{[-f|--field]}} {{hostname,country,org}}`

- Summarize details for a group of IP addresses:

`ipinfo summarize {{path/to/ips.txt}}`

- Extract IP addresses from text and highlight them:

`ipinfo grepip {{path/to/file.txt}}`

- Display help:

`ipinfo {{[-h|--help]}}`