5 lines
97 B
Bash
Executable File

#!/bin/bash
for ((x=0; x<10; ++x)); do
socat TCP-LISTEN:2000 PTY,link=/tmp/ttyX0,raw,crnl
done