I used to use the
texify command in MiKTeX on Windows.
I would, for example, run a command like:
texify --pdf --run-viewer file.tex
which, as I understand it, would produce a pdf, automatically determine how many times latex needed to be run, and open the resulting pdf in a viewer.
I'm now running Ubuntu and have TeX Live installed.
What would be a good equivalent command when running latex on Ubuntu with TeX Live?