Here will be some useful examples and snippet
# sh -x some-script-name.sh
Single quotes won't interpolate anything, but double quotes will. For example: variables, backticks, certain \ escapes, etc.
$ echo "$(echo "upg")" upg $ echo '$(echo "upg")' $(echo "upg")