Manual / chvt
chvt(1)
| CHVT(1) | General Commands Manual | CHVT(1) |
NAME
chvt - switch virtual console
SYNOPSIS
chvt number
DESCRIPTION
Switch the active console to number, from 1 through 4. The command writes the maux console-switch escape sequence to standard output. Its normal use is from a console:
chvt 2
Each console retains its own screen and shell context.
FILES
/usr/man/CHVT this page
SEE ALSO
DIAGNOSTICS
Exit status is 0 for a valid request, 2 for a missing or invalid number.
BUGS
Redirecting standard output writes the escape bytes into the destination; it does not switch the console.
| September 19, 2026 | maux |