I have tried this line of code but it is not working.
#!/bin/bash
echo $\'U+1F615'
I have tried this line of code but it is not working.
#!/bin/bash
echo $\'U+1F615'
Two versions:
printf '\U1F615\n' # or: echo -e '\U1F615'
or actually putting the smiley in the code:
printf '\n' # or: echo ''