Special Characters and Symbols in Bash

· by Victor Mendonça · Read in about 1 min · (70 words) ·

Character Recognition


You can use Shapecatcher to draw a character and try to recognize it.

Other usefull sites are &what and Unicode® character table.

In Bash

If you can paste the character in Bash, you can dump the character in hex with hexdump

$ echo "✰" | hexdump -C
00000000  e2 9c b0 0a                                       |....|

Use the hex value to recreate the character:

$ echo -e "\xe2\x9c\xb0"
code with