Online Linux Command

The most professional Linux command series, including Linux command manual, Linux command details, Linux command learning, Linux command line and shell script programming

consoletype

输出已连接的终端类型

补充说明

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

语法

consoletype

实例

[root@localhost ~]# consoletype
pty
Search History
vgscan - pigz - pico - nmap - mkfs - lprm - lilo - lftp - less - info - expr - exec - emacs - which - dump - diff - curl - chsh - chfn - bind - axel - atop - yum - tty - ab - mysql - pstack - sleep - tac - ssh - dd - bzip2recover - rcp - gpasswd - lpc - lha - jed - git - ftp - fmt - dig - cut - col - cmp - apk - xlsfonts - wait - vgconvert - vgchange - ntpdate - tr - ss - nl - nc - ln - ip
Acknowledgement
Comment