Bash to send command to Arduino

Try this:
stty -F /dev/ttyUSB0 -hupcl

Seems to work on my computer.