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