chvt — change foreground virtual terminal


chvt N


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.

Referenced By

deallocvt(1), fgconsole(1), openvt(1), squeak(1), x11vnc(1).

26 January 1997