compile tex to pdfcommand line code example Example: linux compile latex from konsole or terminal pdflatex file.tex bibtex file.aux pdflatex file.tex