How can I type tilde (~) in the Ubuntu terminal with a Norwegian keyboard?
Solution 1
F6 gave me ~ on my key board.
Solution 2
AltGr+¨ (umlaut, just below backspace), then (assuming the deadkey variant of the layout) Space.
Solution 3
Hold 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:
https://unicode-table.com/en/#control-character
It may look too much, but it's the global solution for all languages and keyboard layouts ,)
Solution 4
~
refers to your home directory, so you can always type $HOME
instead of ~
... if you can find $ on your keyboard, that is!
Solution 5
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.
Related videos on Youtube
shinokada
IB Diploma and MYP mathematics teacher who loves coding.
Updated on September 17, 2022Comments
-
shinokada almost 2 years
I am using Ubuntu terminal and want to type this:
sudo -H -u gitosis gitosis-init < ~/.ssh/id_rsa.pub
However I am not able to find tilde (~) on my Norwegian keyboard.
Can anyone tell me how to type it?
-
Dennis Williamson almost 14 yearsThe name of the symbol is "tilde" in case that helps you find references to it.
-
-
Dennis Williamson almost 14 yearsF6 is actually outputting something like
^[[17~
(escape-leftbracket-1-7-~). -
zack_falcon over 12 yearsF5 worked on my HP pavilion dv6700, not F6
-
ton over 8 yearsI don't know why, but after <kbd>F6</kbd> the <kbd>~</kbd> symbol on keyboard back to work again.
-
e382df99a7950919789725ceeec126 over 6 yearsAlso on the german keyboard. 😊
-
wogsland about 3 yearsAnd similarly option + ¨ followed by a space on a mac...