Linux: Virtual Terminal

By Xah Lee. Date: . Last updated: .

In Linux, there are virtual consoles (aka virtual terminal).

Ctrl+Alt+F1
Switch to virtual terminal.
Ctrl+Alt+F7
Exit back to desktop (X11). (on Ubuntu linux, at least.)
Ctrl+Alt+
Switch to previous virtual terminal, or to X11.
Ctrl+Alt+
Switch to next virtual terminal, or to X11.

Ctrl+Alt+F1 to Ctrl+Alt+F6 are all virtual terminals.

What is the use of Virtual Terminal? Why not just the terminal?

Virtual Terminal is useful in situations when you need to bypass the GUI (X11) system.

For example, when X11 crashed or frozen.

For example, for getting scancode of a key press, showkey --scancodes works only when in virtual terminal.

Linux Shell Basics

Directory and Files

Compress, Archive, Download

Text Processing

User, Group, File Perm

misc

Process, Job Control

Bash/Terminal

Linux Desktop