Reference

chvt(1)

change foreground virtual terminal

NAME

chvt - change foreground virtual terminal

SYNOPSIS

chvt [option...] [N]

DESCRIPTION

The command chvt N makes /dev/ttyN the foreground terminal. (The corresponding screen is created if it did not exist yet. To get rid of unused VTs, use deallocvt(1).) The key combination (Ctrl-)LeftAlt-FN (with N in the range 1-12) usually has a similar effect.

OPTIONS

-C, --console=DEV

the console device to be used.

-V, --version

print version number.

-h, --help

print this usage message.

AUTHORS

Andries Brouwer <[email protected]>

SEE ALSO

deallocvt(1), openvt(1)

History

--console since Debian 13 (Trixie); --help since Debian 11 (Bullseye); --version since Debian 11 (Bullseye); -C since Debian 13 (Trixie); -V since Debian 11 (Bullseye); -h since Debian 11 (Bullseye).