There are several methods for escaping special characters in the Linux shell:
Double quotes: Double-quoted strings require escaping of only a few characters. Example:
>echo “Some String: &>|\”\$’\`\s\\”
Some String: &>|”$’`\s\
This method is useful as long as the string contains few or no characters that are special to the shell. It also allows embedding all types of quotes.
Single . . . → Read More: Shell escaping in Perl