为什么会有这么多虚拟终端设备?
我读过《高级Linux编程》一书,其中提到了虚拟终端,如果我正确理解的话,它是Linux特定的功能(Unix中没有),允许在非X11系统中使用多个登录控制台。您通过按ALT-F2键来创建虚拟终端。我正在运行Linux Mint,并且在我的/ dev文件夹中,尽管我看到很多tty设备,但我不知道它们的用途。这是grepped的输出: crw-rw-rw- 1 root tty 5, 0 Jan 2 19:45 tty crw--w---- 1 root tty 4, 0 Jan 2 19:10 tty0 crw-rw---- 1 root tty 4, 1 Jan 2 19:10 tty1 crw--w---- 1 root tty 4, 10 Jan 2 19:10 tty10 crw--w---- 1 root tty 4, 11 Jan …