Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My keyboard doesn't have a ~ key, and the Git Bash on Windows doesn't allow me to type that symbol with Alt-### combinations nor to paste it in. How can I do this?

share|improve this question
What keyboard layout are you using? – Daniel Beck Jun 30 '11 at 11:19
Note that although the question explicitly states Git Bash on Windows, this question was originally erroneously tagged "Linux". – JdeBP Jun 30 '11 at 13:45
up vote 6 down vote accepted

Use $HOME, as e.g. in

cd $HOME
share|improve this answer
Admittedly a stupid example, as cd also works. – Daniel Beck Jun 30 '11 at 11:20

You could use an on screen keyboard with a qwerty lay-out.

In linux you can apparently do the following:


type onboard


Don't know if this is true, I don't use Linux myself.

share|improve this answer
I'm actually using windows. – Gabriele Cirulli Jun 30 '11 at 16:59
I'm sorry, the tag said linux. In that case, just execute osk.exe – Simon Verbeke Jun 30 '11 at 18:23

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.