Linux Commands Helper
💬 Your AI-powered Linux assistant
chvt Command - Change Virtual Terminal
The chvt command is used to switch between virtual consoles (terminals) on Linux systems. Each virtual console is assigned a number, typically from 1 to 6 for text consoles and 7+ for graphical sessions.
Syntax
chvt N
Examples
sudo chvt 1
Switch to virtual console 1.
sudo chvt 7
Switch to the graphical session (usually on VT7).
Notes
- Requires root privileges.
- Only works on the system console, not over SSH or in terminal emulators.