In fact, there is no double quote wrapping for variables, the first quote begins, the second quote ends with the quoted string. However, you can concatenate the lines, but you want to, so "$"t${count}"" will actually be equivalent to "$"t${count} , starting with the quoted $ -sign followed by 't' followed by variable count.
Let's go back to your question to get ", you can either put it in a literal string (surrounded by single quotes), for example, echo '"my string"' , note that these variables are not replaced by literal strings. Or you can avoid it like this echo "\"my string\"" , which will put the letter in the string and not complete it.
source share