kkr@host137:~$ cat < /dev/ttyUSB0 Writing: 66% (5407 blocks) Writing: 67% (5489 blocks) ^C kkr@host137:~$Reading one line:
kkr@host137:~$ read DEVICE_ID < /dev/ttyUSB7 && echo $DEVICE_ID > /tmp/DEVICE_ID & kkr@host137:~$ echo ID? > /dev/ttyUSB7 && sleep 0.2 && cat /tmp/DEVICE_ID HAMEG Instruments,HM8143,2.41 kkr@host137:~$