What is the terminal?
Originally, the terminal was a physical device that allowed a user to interact with a computer.
Today, the terminal is a program that provides a window where you can interact with the command line.
It’s essentially the “container” that displays text and accepts keyboard input.
Popular modern terminal emulators include:
- Alacritty
- Ghostty
- Kitty
- Windows Terminal (windows only)
- iTerm2 (macOS only)
- and many more
Each terminal emulator might have a variety of advanced and unique features.
For example, kitty was the first terminal to use GPU-based rendering and is able to display images.
With the advent of AI, a new crop of tools have emerged which combine the capabilities of the terminal with additional features, useful for orchestrating multiple AI agents.
Herdr is a popular example in this category
The Shell
The shell is the command interpreter that processes the commands you type.
It’s the program running inside the terminal that understands and executes your commands.
Popular shells include:
- sh
- bash
- zsh
- PowerShell
- fish
- nushell
- and more
sh
sh is the original Unix shell
It was designed to be simple and portable across different Unix-like operating systems.
It was used as the basis for the specification of the POSIX standard.
Bash
Bash is a shell interpreter first released in 1989, with the latest version (5.3) released in July 2025.
It is popular and powerful and is the default shell on a majority of UNIX-like systems.
Bash is a superset of sh with more advanced features and quality-of-life improvements compared to sh.
Zsh
Zsh is yet another popular POSIX-compliant shell, first released in 1990 with its latest release in July 2026.
It is the default shell on macOS and offers advanced tab-completion, extended customization options and a more flexible plugin system.
POSIX
The Portable Operating System Interface is a standard specified by the IEEE to ensure compatibility between different operating system.
It encompasses a large number of tools, programs and operating systems behaviours such as:
- Process creation and control
- File system operations
- Signals
- Pipes
- Utility programs
- and more
GNU coreutils
GNU coreutils is a implementation of common Unix utilities
It aims to be POSIX-compliant, but extends tools with multiple additional features.
It is the default tool-set used on most Linux distributions.
There are also multiple other implementations of the common Unix toolset such as:
- Plan9
- BSD (macOS)
- BusyBox
- uutils (rust rewrite)
- and more
Each of these implementations comes with its owns specifics, features and quirks that are too numerous and finicky to cover in detail; and goes beyond the scope of this class.
A flexible but disjointed ecosystem
This course introduces these concepts and emphasises the variety in all these layers of tooling in order to help you understand the hidden complexity behind something as seemingly simple as the terminal.
This course aims to provide you with working knowledge of bash and the Unix ecosystem, but CANNOT cover all the topics in detail
The terminal is responsible for executing commands?
- true
- false