I'm a bit embarrassed of asking this, but how to make the
^ (I can't see it in my keyboard).
I want to do this: CTRL-^
^ character (which looks like an inverted V) is known as caret. It's also known as a hat, control or uparrow.
It's Shift+6 on my UK keyboard, and I think it's the same for US layouts as well, so you could try Ctrl+Shift+6
If you have a different layout you could have a look at this page on Wikipedia which has pictures of many different keyboard layouts.
If you're on Windows you can get a
^ by hold down Alt and typing 094 on your numeric keypad which will work for all layouts, but unfortunately this won't work if you're holding down Ctrl
According to Wikipedia:
Control characters are often rendered into a printable form known as caret notation by printing a caret (^) and then the ASCII character that has a value of the control character plus 64. Control characters generated using letter keys are thus displayed with the upper-case form of the letter. For example, ^G represents code 7, which is generated by pressing the G key when the control key is held down.
As "^" is ASCII 94 (decimal), "Ctrl-^" might represent ASCII 30. Hence, holding down Alt and typing 30 on the numeric keypad might do the trick to "type" Ctrl-^?
I think that (in a terminal under linux) you can hit Ctrl+v Ctrl+^ .
Ctrl+v is by default bound to:
quote-insert Add the next character typed to the line verbatim. This is how to insert characters like C-q, for example.
In order to verify my claim I used xxd (xxd - make a hexdump or do the reverse.) which comes with vim. I typed the following keys:
xxd Enter, Ctrl+v, Ctrl+^, Ctrl+d, Ctrl+d and the result looked like:
% xxd ^^ 0000000: 1e .
Now the explanation is a little complicated:
xxdEnter launches the application xxd.
Ctrl+v, Ctrl+^ sends a 0x1e. In order to understand this you have to remember that Ctrl+x sends the character code of X (0x58, note: capital X) minus 0x40, that is 0x18. In case of ^ (0x5e) this results in 0x01e
Ctrl+d, Ctrl+d terminates the input. (I don't know why I had to type it twice though).
man ascii is really helpful in remembering all those character codes.
That thing is called Circumflex Accent AKA Circum Accent
Most of the times it works by pressing Shift+6 or Ctrl+Shift+6
And of course it depends on the keyboard model and the layout that you're using.
But IF you couldn't type it you can use it by adding symbols.