I am getting this while trying to compile literally my first document
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=latex)
restricted \write18 enabled.
entering extended mode
(./t1.tex
LaTeX2e <2015/01/01>
Babel <3.9l> and hyphenation patterns for 79 languages loaded.
(/usr/local/texlive/2015/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2015/texmf-dist/tex/latex/base/size10.clo)) (./t1.aux)
! Undefined control sequence.
l.6 \latex
?

\LaTeXor\LaTeXe. You should show us the documentt1.texactually. – Jul 10 '16 at 10:22\latex. Please keep in mind that commands are case sensitive and you probably wanted to use\LaTeX. – HATEthePLOT Jul 10 '16 at 10:24\LaTeXetc that early in the document looks strange. It should occur after\begin{document}, not before (and spelled correctly, of course) – Jul 10 '16 at 10:29\begin{document}(based on(./t1.aux)). – Joseph Wright Jul 10 '16 at 10:49.auxfile: Thanks – Jul 10 '16 at 15:10