I need to write a "
into a string, because a script needs it in the format, but I do not know how to do it.
Does it need to be marked as a character?
I need to write a "
into a string, because a script needs it in the format, but I do not know how to do it.
Does it need to be marked as a character?
You need to double it, put it inside a single quote or escape it with `
echo "This will output a double quote """
echo '"This will also be put in double quotes"'
echo "`"This is another way to quote`""
For more string quoting basics refer to the official documentation