把16进制数据0xdd 0xff 发送到/dev/ttymxc0里去 echo -e -n "\xdd\xff" > /dev/ttymxc0 -e:表示便能“\”反斜杠,“\x”表示后边的数据为16进制,更多细节 man echo-n:表示不添加换行符“0x0A”