1 | consoletype
|
2 | ===
|
3 |
|
4 | 输出已连接的终端类型
|
5 |
|
6 | ## 补充说明
|
7 |
|
8 | **consoletype命令** 用于打印已连接的终端类型到标准输出,并能够检查已连接的终端是当前终端还是虚拟终端。
|
9 |
|
10 | ### 语法
|
11 |
|
12 | ```shell
|
13 | consoletype
|
14 | ```
|
15 |
|
16 | ### 实例
|
17 |
|
18 | ```shell
|
19 | [root@localhost ~]# consoletype
|
20 | pty
|
21 | ```
|
22 |
|
23 |
|
24 | <!-- Linux命令行搜索引擎:https://jaywcjlove.github.io/linux-command/ --> |
\ | No newline at end of file |