Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Development Tools Console Foundations Getting Started with the Console Moving Around the Filesystem

Tobias Jackson
Tobias Jackson
9,758 Points

danish keyboard - tilde

Hi, I'm from Denmark and I have a danish keyboard. In the terminal, I can't write tilde in the program. I also had problems when I was working with the ruby console. I could not write {} [] in the console. I would really appreciate if someone could help me.

1 Answer

You should always use an English keyboard to do programming. No excuses.

(Sorry if I sound mean, but trust me: it is much, much easier.)

On the English keyboard, you press the Shift key and the ` key (which is below the esc key) at the same time. This will make the ~ symbol.

The English keyboard has the [ and ] characters next to the \ character. To make { or }, you just press shift and press [ or ] at the same time.

:dizzy: ~Alex :dizzy: