title: How do you echo a 4-digit Unicode character in Bash?
body: <p>I'd like to add the Unicode skull and crossbones to my shell prompt (specifically the <strong>'SKULL AND CROSSBONES' (U+2620)</strong>), but I can't figure out the magic incantation to make echo spit it, or any other, 4-digit Unicode character. Two-digit one's are easy. For example, <code>echo -e &quot;\x55&quot;</code>, .</p>
  <p>In addition to the answers below it should be noted that, obviously, your terminal needs to support Unicode for the output to be what you expect. gnome-terminal does a good job of this, but it isn't necessarily turned on by default.</p>
  <p>On macOS's Terminal app Go to Preferences-&gt; Encodings and choose Unicode (UTF-8).</p>