How can I type tilde (~) in the Ubuntu terminal with a Norwegian keyboard?
Mia Lopez
I am using Ubuntu terminal and want to type this:
sudo -H -u gitosis gitosis-init < ~/.ssh/id_rsa.pubHowever I am not able to find tilde (~) on my Norwegian keyboard.
Can anyone tell me how to type it?
15 Answers
F6 gave me ~ on my key board.
4AltGr+¨ (umlaut, just below backspace), then (assuming the deadkey variant of the layout) Space.
1Hold down together:
- Ctrl + Shift + u - Underlined u should appear.
- Release keys
- Enter 7E (Unicode for ~)
- Press Space
For the full list of Unicode codes please refer to the following link:
It may look too much, but it's the global solution for all languages and keyboard layouts ,)
~ refers to your home directory, so you can always type $HOME instead of ~ ... if you can find $ on your keyboard, that is!
Type the combination like Alt gr + (top right char, for me Ü, for you ^) and after typing hit "space".
Briefly: Type the combination and after hit space.