This command can be used to fetch the information of a specific IP Address. Let's dive into this now.
We can simple know how to use each command by adding
-hafter the command.
ggip lookup -h
Then, the CLI will return the complete information about this specific command (in this case,
lookupcommand). The output should be something like this:
Greip CLI -
lookupcommand usage information
As shown above in the screenshot, you have multiple options you can use for this command, which are:
In this section we'll list some usage cases with the description of them.
# Retrun the basic information of the specified IP Address
ggip lookup 184.108.40.206
# Return the basic information of the specified IP Address in dev mode.
ggip lookup 220.127.116.11 -d
# Return timezone, location and basic information of the specified IP
ggip lookup 18.104.22.168 -m timezone,location
# Return both timezone & basic information of the specified IP in JSON format
ggip lookup 22.214.171.124 -m timezone -o JSON