Hmm; \textbackslash (mentioned by others) isn't in my reference book (Helmut and Kopka).
At any rate, math mode provides \sim, \backslash, and \setminus (the latter two appear to look the same).
My LaTeX book – which, as you would expect, features the \ extensively – seems to use the verbatim environment. For example, this code:
\begin{verbatim}
\addtocounter{footnote}{-1}\footnotetext{Small insects}
\stepcounter{footnote}\footnoteext{Large mammals}
\end{verbatim}
Produces this text in the book:
\addtocounter{footnote}{-1}\footnotetext{Small insects}
\stepcounter{footnote}\footnoteext{Large mammals}
The \verb command is similar, but the argument must be on one line only. The first character after the b is the delimiter; for example:
\verb=\emph{stuff}=
will produce
\emph{stuff}
So you could presumably get your backslash by typing:
\verb=\=
You can also add a * – i.e. \verb* or \begin{verbatim*} – to make whitespace visible.
It is interesting to speculate how you would get an example of a verbatim environment into a document..
(using \verb to do the last line, I guess)