paulo@alexandria ~$ which -a tex
/opt/texbin/tex
/usr/bin/tex
/bin/tex
paulo@alexandria ~$ /bin/tex -version
TeX 3.1415926 (TeX Live 2014/dev)
kpathsea version 6.2.0dev
Copyright 2013 D.E. Knuth.
There is NO warranty. Redistribution of this software is
covered by the terms of both the TeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the TeX source.
Primary author of TeX: D.E. Knuth.
paulo@alexandria ~$ /opt/texbin/tex -version