here is how to do serial through terminal.
ls /dev sudo chmod 666 /dev/tty/XXXXX stty -F /dev/XXXXX 9600 -hupcl