1 .TH CONSOLETYPE 1 "Red Hat Software" "RHS" \" -*- nroff -*-
4 \- print type of the console connected to standard input
9 prints the type of console connected to standard input. It prints
11 if console is a virtual terminal (/dev/tty* or /dev/console device if not on
14 if standard input is a serial console (/dev/console or /dev/ttyS*) and
16 if standard input is a pseudo terminal.
22 if on virtual terminal
28 if on a pseudo terminal.