Linux Keyboard wrong

Subscribe to to get a free Linux Cheat Sheet! 

This is a tip which has got be out of a few binds before. So what happens is you are called to a job to troubleshoot a issue on a Linux server. You access the terminal and the keys you are typing are not appearing on the screen. For example, when you type @ you see ” and when you type # you see \.

This is happening because the terminal is expecting input from a US keyboard and you are using a UK keyboard.

You can solve this very quickly by typing the command:

sudo loadkeys uk

When this command is run successfully you should see a screen that looks like the one below.

Your keys should now be working correctly.

A video that shows this process can be found here:


Leave a Reply

Your email address will not be published. Required fields are marked *