-3

When I use cat < /dev/ttyS0 and data is received, it doesn't display on the terminal that I typed the command into but instead gets sent back to to ttyS0 where it came from. How can I make it not do that?

user1318499
  • 1,327
  • 11
  • 33

1 Answers1

1

It's not sent back but echoed, try

stty -echo </dev/ttyS0
cat </dev/ttyS0

and echo should be suppressed.

Diego Torres Milano
  • 65,697
  • 9
  • 111
  • 134