linux 输出已连接的终端类型 命令:consoletype consoletype命令用于打印已连接的终端类型到标准输出,并能够检查已连接的终端是当前终端还是虚拟终端。 语法 consoletype 实例 [root@localhost ~]# consoletype pty 赞 0 赏 分享