Independent operator truck owners used to customize their own dashboards with various after market instruments. Create your own GUI. In hardware.
This capability has not gone away, but today's fleets tend to feature controls in a large display of some kind, per Tesla and others. Behind those displays are the sensors and controllers, a small "internet of things" perhaps glued together using TCP / IP.
As a result, the truck's cab, the personal workspace (PWS) is starting to double as a kind of devops space. In addition we get the navigation and business accounting apps, what it takes to keep up with the truck's businesses.
Not every PWS is running Linux, nor is every (any?) jet airplane (avionics is its own thing) -- when it comes to the in-flight movie service some do.
However, the fact remains we need to give students "cockpit" experience (in the driver's seat) with whatever operating systems.
Even if your truck does not run Linux, Linux may run your truck, in the sense that remote platforms may be tasked with scheduling you're contracted to carry out, as a driver. You meet Ubuntu in the cloud a lot.