# [Tex/LaTex] Printing LaTeX command without compiling it

verbatim

How could I write a command in LaTeX, so after compiling it will be shown as a text in PDF and not executed?

For Example, I would write \it This is how you write in italic and the compiled pdf would contain the exact same text between the quotation marks without \it being executed.

You can put them in the verbatim environment.
\begin{verbatim}

P.S. If you need to put them in-line, you can put them in the \verb== environment:
\verb=\it This is how you write in italic=