I want to put this simple line to a file:
\”
The command I must use is:
echo ” any line ” > file
But I can’t find a way to use this simple command to put \” to the file
If I do : echo ” \” ” > file or echo ” \”” ” > file. it returns error
If I do: echo ” \” ” > file. it returns: “
The backslash is an escape character, so you can use
(N.B. the first blackslash escapes the second backslash and the third backslash escapes the quote)