You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
389 B

7 years ago
consoletype
===
输出已连接的终端类型
## 补充说明
**consoletype命令** 用于打印已连接的终端类型到标准输出,并能够检查已连接的终端是当前终端还是虚拟终端。
### 语法
```
consoletype
```
### 实例
```
[root@localhost ~]# consoletype
pty
```
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->