- 论坛徽章:
- 21
|
控制台,默认的应该是tty
Ctrl+Alt+Fn 可以切换.- [root@cmr-nginx01 ~]# echo 123 > /dev/tty
- 123
- [root@cmr-nginx01 ~]# echo 123 > /dev/tty0
复制代码- [root@cmr-nginx01 ~]# ps -ef | grep tty
- root 2903 1 0 2011 tty2 00:00:00 /sbin/mingetty tty2
- root 2906 1 0 2011 tty3 00:00:00 /sbin/mingetty tty3
- root 2914 1 0 2011 tty4 00:00:00 /sbin/mingetty tty4
- root 2915 1 0 2011 tty5 00:00:00 /sbin/mingetty tty5
- root 2918 1 0 2011 tty6 00:00:00 /sbin/mingetty tty6
- root 4302 1 0 2011 tty1 00:00:00 /sbin/mingetty tty1
复制代码 默认开6个控制台, 不过一般用不着. |
|