Query: consoletype
OS: redhat
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CONSOLETYPE(1) General Commands Manual CONSOLETYPE(1)NAMEconsoletype - print type of the console connected to standard inputSYNOPSISconsoletypeDESCRIPTIONconsoletype prints the type of console connected to standard input. It prints vt if console is a virtual terminal (/dev/tty* or /dev/con- sole device if not on a serial console), serial if standard input is a serial console (/dev/console or /dev/ttyS*) and pty if standard input is a pseudo terminal.RETURN VALUEconsoletype returns 0 if on virtual terminal 1 if on serial console 2 if on a pseudo terminal.RHRed Hat, Inc CONSOLETYPE(1)
Related Man Pages |
---|
console(7d) - opensolaris |
conspy(1) - debian |
dc(7) - osf1 |
scc(7) - osf1 |
conscontrol(8) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Create an unconfigured VMware host from a template that is set to do firstboot --reconfig |
Tar Command |
CentOS7 restoring file capabilities |
About TODO |
Shopt -s histappend |