I'd like to add a functionality to a project I'm working on, in which as soon as an external controller device powers on, it sends a time-request/command to a ttyusb port of an Ubuntu PC, and the Ubuntu PC sends back the system's time and date. Does such a command exists in Ubuntu?
for example something like:
'timeReq' > /dev/ttyUSB0
In which "time" is the command that would echo back the system's time