Single quotes in shell scripts prevent variable expansion and command substitution, resulting in literal output of expressions. To allow variable expansion and command substitution, use double quotes instead of single quotes.