Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

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

What does pressing Alt + Shift + 3 in Terminal do?

All I can see is that it prints a pound sign and jumps to the next line, but, supposedly, it does something special.

share|improve this question
What shell is this supposed to be answered for? – Kusalananda Oct 13 '11 at 9:14
I get a heart for when I do alt+shift+3, but it may be different on your end. – user103159 Feb 14 '15 at 23:18

In readline, Alt can be interpreted as \e. On my system (and likely yours as well) \e# is bound to insert-comment, which according to the bash(1) man page comments or uncomments the current command line and executes it. If you press it without typing anything then # is executed, which has no effect since it's a comment.

share|improve this answer
Unless you are, like me, using ksh with Vi key bindings, in which case no # is inserted when nothing yet has been typed. – Kusalananda Oct 13 '11 at 9:13

It depends on the layout. In my case it creates ¥ character.

share|improve this answer
Did you perhaps think the asker meant AltGr-#? – Ignacio Vazquez-Abrams Oct 13 '11 at 6:58
No, as I said, it depends on the layout. I don't have AltGr on my keyboard at all. – greenoldman Oct 13 '11 at 9:00
@macias Are you sure about this? AltGr is usually just an alias for "right Alt key". Does the same appear when you use the left Alt (assuming you have one)? – rozcietrzewiacz Oct 13 '11 at 11:27

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.