Report issue Add example

consoletype

Output the connected terminal type

Description

The consoletype command is used to print the type of the connected terminal to standard output. It can also check whether the connected terminal is the current console or a virtual terminal.

Syntax

consoletype

Examples

[root@localhost ~]# consoletype
pty