Not only that but the executable file is called tex which would break when you have a LaTeX distribution on your system:
Kali:~ kelsolaar$ tex
This is TeX, Version 3.14159265 (TeX Live 2019) (preloaded
format=tex)
**^C