Skip to content

Instantly share code, notes, and snippets.

@mr337
Created August 7, 2016 22:58
Show Gist options
  • Save mr337/bbcf3be444e4743a3447c0eaa3830303 to your computer and use it in GitHub Desktop.
Save mr337/bbcf3be444e4743a3447c0eaa3830303 to your computer and use it in GitHub Desktop.
Handy way to mointor serial traffic with socat
socat /dev/ttyUSB0,raw,echo=0 SYSTEM:'tee input.txt | socat - "PTY,link=/tmp/ttyV0,raw,echo=0,waitslave" | tee output.txt'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment