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