Print Emojis on Bash prompt

How to print Emojis like: :soccer: :christmas_tree: :basketball: in bash with echo command?

Should print like any character with echo. Is it not working for you? Which OS do you use?

On the Mac: Select an emoji from Terminal’s Edit menu > Emoji & Symbols or control-command-space.

2 Likes

Indeed, it’s a bit like asking how to print letters from the alphabet. If there’s a problem then it’s more likely got to do with fonts or expectations.

2019-07-23-174032_245x92_scrot

1 Like