Get IP address location info from command line

The Linux command line is a great tool. Today I’ll like to share a method to get Geographical IP information with one command, using curl and the tool of

It is as easy to use this command:

$ curl<IP Address>

Here you have an example:

You will have these parameters:

  • IP
  • City
  • Region
  • Country
  • Loc (Coordinates)
  • Org
  • Postal
  • Timezone

And that’s all. If you want more information about an IP address, you could visit the website of, and you’ll get some more information and tools.

How to change your language and local configuration in Ubuntu

Connect with SSH to your machine and execute next command

sudo dpkg-reconfigure locales

After this, you will see a list of languages and countries. You have to select with space bar the language and country you need. In my case, as I live in Spain, I have selected es_ES.UTF-8. It is recommended to choose UTF-8 version.

Finally, Ubuntu will ask you to select the default language to use in the operating system.

After that, you should configure the language in the keyboard with this command:

sudo dpkg-reconfigure keyboard-configuration

Now, we will configure the timezone

sudo dpkg-reconfigure tzdata

I have select the country (Europe) and the city (Madrid) where I live, so the timezone has been updated.

Finally it is recommended to reboot the system to apply the changes.

sudo reboot

Customize our Linux terminal with screenFetch (Ubuntu, Debian, CentOS, Linux Mint…)

screenFetch is a software for GNU/Linx which shows information related to our Hardware and our Operating System, including the logo of the Linux Distro it is being used.

This is the info screenFetch shows:

  • User Name
  • Host Name
  • OS with Code Name
  • Installed Kernel Info
  • System Uptime
  • List of Installed Packages
  • bash Shell Version
  • System Resolution
  • DE (Desktop Environment)
  • WM (Window Manager)
  • WM Theme
  • GTK Theme
  • Icon Theme
  • Font
  • CPU
  • RAM Usage

Here some examples:

Continue reading Customize our Linux terminal with screenFetch (Ubuntu, Debian, CentOS, Linux Mint…)