Your keyboard layout probably isn’t configured correctly, try going to the keyboard settings and selecting a layout that fits your keyboard. Also, you’re not just using “Linux”, but a certain Linux distribution, e.g. Ubuntu. It would be handy to know the name of this distribution.