Terminal
A terminal is the text window you type commands into. It is how people control computers without clicking through menus. The terminal itself just shows text and sends your keystrokes along; the shell running inside it is what does the work. On Ubuntu you open one with Ctrl+Alt+T.
A terminal (terminal emulator) is a program that emulates a hardware text terminal, a keyboard and screen attached to a computer. It passes keystrokes to a pseudo-terminal (PTY) and renders the output, including colors and cursor movement through escape sequences.
Examples: GNOME Terminal and Ptyxis on Ubuntu, Konsole, Alacritty, kitty, Windows Terminal, macOS Terminal and iTerm2.
Related terms:
- Console: the system’s primary terminal; on Linux, virtual consoles on
Ctrl+Alt+F1toF6(/dev/tty1and up) - TTY: from teletypewriter; any terminal device.
ttyprints yours. - CLI: command-line interface, the style of interaction
- SSH session: a terminal connected to a shell on a remote machine
Essential keys:
Tab: complete commands and pathsCtrl+C: interrupt the running commandCtrl+D: end input or log outCtrl+L: clear the screenCtrl+R: search historyCtrl+Shift+C/Ctrl+Shift+V: copy and paste (plainCtrl+Cinterrupts)
Multiplexers such as tmux keep sessions alive after you disconnect, which matters on remote servers.
Terminal basics
# Which terminal device am I on?
$ tty
/dev/pts/0
# Who is logged in, and on which terminals?
$ who
george tty2 2026-11-01 09:02
george pts/0 2026-11-01 09:15 (192.168.1.20)
# A persistent session that survives disconnects
$ sudo apt install tmux
$ tmux new -s work # detach with Ctrl+B then D
$ tmux attach -t work The terminal is where you will spend most of your time as a Linux admin, locally and over SSH. Learn the keyboard shortcuts early, because they save hours. If a long job matters, run it inside tmux so a dropped Wi-Fi connection does not kill it. When a graphical desktop freezes, switching to a virtual console with Ctrl+Alt+F3 often gives you a working terminal to fix it.