Ist zwar schon ewig und drei Tage her, dass ich das mal gebraucht habe, ist aber nach wie vor in den Quellen vorhanden: Der kleine praktische serial-sniffer jpnevulator. Auszug aus der Manpage
jpnevulator is a handy serial sniffer. You can use it to send data on a serial device too.
You can read or write from/to one or more serial devices at the same time.
In write (--write) mode data to be sent on the serial device(s) is read from a file or stdin in base (--base) defined notation.
Data is sent on the serial device(s) line by line.
In read (--read) mode data to be read from the serial device(s) is written to a file or stdout in base (--base) defined notation.
Skim through the options for several enhancements in the output. It's even possible to pass(--pass) on the data between the several serial devices.
Einfach mit
sudo apt install jpnevulator
installieren.