I am just wondering how I can echo a variable inside single quotes (I am using single quotes as the string has quotation marks in it).
echo \'test text
Output a variable wrapped with single quotes:
printf "'"'Hello %s'"'" world