Output the connected terminal type
consoletype command is used to print the connected terminal type to standard output and can check whether the connected terminal is the current terminal or a virtual terminal.
consoletype
[root@localhost ~]# consoletype
pty
优先推荐相关内容,同时保留你的阅读轨迹和收藏入口。