User avatar
Posts: 57
Joined: Fri Nov 27, 2015 11:19 pm
Location: sutton coldfield, uk

Redirect serial input e.g. /dev/ttyUSB0 TO terminal? SOLVED

Sat Aug 10, 2019 11:04 pm


I've been searching for a way to redirect serial input (for example /dev/ttyUSB0) to the terminal console, so anything coming FROM an external device gets echoed to the screen, as if it is being typed. Is this possible? All I can seem to find is how to redirect stuff TO the serial port...



EDIT: I seem to have found a solution!

exec 0< /dev/ttyUSB0

Return to “General discussion”