Skip to content

Instantly share code, notes, and snippets.

@markuswustenberg
Created August 10, 2010 16:59
Show Gist options
  • Save markuswustenberg/517597 to your computer and use it in GitHub Desktop.
Save markuswustenberg/517597 to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo socat tcp-l:54321,reuseaddr,fork file:/dev/ttyUSB0,nonblock,waitlock=/var/run/tty0.lock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment