I am trying to write a script on the console but don't know what programming language is installed on the router. Is there a certain file or command I can use to find that out?
You can check the commands in the device in the following links:
Also keep in mind that Teltonika routers are based on Linux OpenWRT. It uses busybox's ash shell by default. You can find more information on the following links: