I just have installed TeX-Live 2012, but I still get
moose@pc07:~$ latex --version pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian) kpathsea version 5.0.0 Copyright 2009 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). There is NO warranty. Redistribution of this software is covered by the terms of both the pdfTeX copyright and the Lesser GNU General Public License. For more information about these matters, see the file named COPYING and the pdfTeX source. Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). Compiled with libpng 1.2.42; using libpng 1.2.42 Compiled with zlib 220.127.116.11; using zlib 18.104.22.168 Compiled with poppler version 0.12.4
So I've wondered if I could find out where the binary that gets executed when I enter
latex --version is located. Is this possible?