Skip to content

Instantly share code, notes, and snippets.

@buzztiaan
Created March 4, 2020 23:10
Show Gist options
  • Save buzztiaan/5b79a56802f990114290d2b09fc9dd01 to your computer and use it in GitHub Desktop.
Save buzztiaan/5b79a56802f990114290d2b09fc9dd01 to your computer and use it in GitHub Desktop.
chisight's serialport locking fifo bash oneliner
USB=ACM0; FILE=$(mktemp -u -t $USB_XXXXXXXXXX); mkfifo $FILE; stty -F /dev/tty$USB cs8 115200; tail -f $FILE > /dev/tty$USB &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment