Usually I will use xxd
to see what characters I type translate to in hex. For example:
$ xxd
hello
00000000: 0a68 656c 6c6f 0a .hello.
However, how would I do the same for:
- Ctrlz
- Ctrld
- Ctrlc
It seems when I enter either of these three it 'does something' outside the xxd
program, rather than being recognized as a keyboard input for which I want to see the hex codes. So how can I see those values sent by my keyboard for all character combinations?