How to use single quote inside an echo which is using single quote
Either escape the quote with a backslash, or use double quotes to designate the string. echo ‘Here goes your message with an apostrophe S like thi\’s’; echo “Here goes your message with an apostrophe S like thi’s”;