Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
The name of the symbol is "tilde" in case that helps you find references to it. –  Dennis Williamson Sep 18 '10 at 7:47

3 Answers 3

AltGr+¨ (umlaut, just below backspace), then (assuming the deadkey variant of the layout) Space.

share|improve this answer

~ refers to your home directory, so you can always type $HOME instead of ~ ... if you can find $ on your keyboard, that is!

share|improve this answer

F6 gave me ~ on my key board.

share|improve this answer
F6 is actually outputting something like ^[[17~ (escape-leftbracket-1-7-~). –  Dennis Williamson Sep 18 '10 at 8:07
F5 worked on my HP pavilion dv6700, not F6 –  user122023 Mar 8 '12 at 15:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.