Skip to content

鼓励作者:欢迎 Star 或打赏犒劳

consoletype ​

输出已连接的终端类型

补充说明 ​

consoletype 命令 用于打印已连接的终端类型到标准输出,并能够检查已连接的终端是当前终端还是虚拟终端。

语法 ​

shell
consoletype

实例 ​

shell
[root@localhost ~]# consoletype
pty