Problem
Having to access often to the Terminal consoles in the lnux environment on customers' virtual machines for assistance and/or to install applications; it may happen that the keyboard layout you got, is not exactly what you expected (Italian in may case).
Solution
To change the keyboard layout (e.g. to Italian) in the Linux command line, type the following command:
# loadkeys it
instead, if you are into an X environment type in the terminal console the command:
# setxkbmap it
That's it