-
Notifications
You must be signed in to change notification settings - Fork 0
IP Commands
Léo Peyronnet edited this page Jan 4, 2025
·
3 revisions
The ip
command retrieves information about your public IP address.
itcli ip [options]
itcli ip [command] [...]
-
-h
or--help
: Shows help text.
Retrieves information about your IP configuration.
Retrieves information about an IP address and its position.
You can run itcli ip [command] --help
to show help on a specific command.
To get information about your public IP address:
itcli ip
The ip config
command retrieves information about your IP configuration.
itcli ip config [options]
-
-h
or--help
: Shows help text.
To get information about your IP configuration:
itcli ip config
The ip locate
command retrieves information about an IP address and its position.
itcli ip locate <ip> [options]
- ip: The IP address to locate.
-
-m
or--map
: Only shows the link to see the approximate location on a map. Default:False
. -
-p
or--provider
: Shows help text. The map provider to use. -
-z
or--zoom
: The zoom level of the map. Default: "12". -
-h
or--help
: Shows help text.
- Here
- Microsoft
- OpenStreetMap (default)
- Yandex
To locate an IP address:
itcli ip locate 8.8.8.8
To get only the link to the approximate location on a map:
itcli ip locate 8.8.8.8 --map
To use a custom map provider:
itcli ip locate 8.8.8.8 -m -p Google
To change the zoom level of the map:
itcli ip locate 8.8.8.8 -z 15
You can then customize the generated link to the map by changing the provider and zoom level:
itcli ip locate 8.8.8.8 -m -p Google -z 15