Protect Strings Within Double Quotes
· Shell & text
If you want quotes around a string, use single quotes to preserve the double quotes. Here's an example of its use.
Here's the syntax and its output
#echo 'Your single quotes "PRESERVED" the double quotes.'
Your single quotes "PRESERVED" the double quotes.
#echo 'Your single quotes "HAVE PRESERVED" the double quotes.'
Your single quotes "HAVE PRESERVED" the double quotes.