MacOS:/dev/tty.*和/dev/cu.*之间有什么区别? [英] MacOS: what's the difference between /dev/tty.* and /dev/cu.*?
本文介绍了MacOS:/dev/tty.*和/dev/cu.*之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
每个串行设备在/dev
中显示两次,一次为tty.*
,一次为cu.*
.
Each serial device shows up twice in /dev
, once as a tty.*
and once as a cu.*
.
什么是cu.*
设备?它与tty.*
设备有何区别?
What is the cu.*
device? How does it differ from the tty.*
device?
mh@maru ~ --> ls -l /dev/*.usbmodem621
crw-rw-rw- 1 root wheel 11, 5 Dec 25 18:00 /dev/cu.usbmodem621
crw-rw-rw- 1 root wheel 11, 4 Dec 25 18:00 /dev/tty.usbmodem621
推荐答案
查看全文