Skip to content
BENIBIX Learn

Terminal vs Shell

People say terminal and shell as if they were one thing. The terminal is the window you type in. The shell is the program inside it that reads your command and runs it.

Infrastructure⌨️ Linux & the Command Line

Terminal

The text window where you type commands and read the replies.

A terminal is the window where you type commands and read what comes back. It shows text only, with a prompt that waits for your next line. The terminal itself does not run your commands. It passes them to a program called the shell, then shows the shell's reply. Every Mac and Linux computer has one, and Windows has Windows Terminal.

Example
Jack opens the Terminal app on a Mac. A prompt ending in $ appears, waiting for the first command.
Why it matters
It is the door to the command line. You will open it every day as a coder.
Full entry
Infrastructure⌨️ Linux & the Command Line

Shell

The program that reads the commands you type and runs them.

A shell is the program that reads the commands you type and runs them. It finds the right program, starts it and shows you what it printed. It also lets you chain commands, save values in variables and write scripts. Bash and Zsh are the most common shells on Linux and Mac. The terminal is the window, and the shell is the program inside it.

Example
Lucy asks her computer which shell it uses. The reply /bin/bash means Lucy is in Bash.
Why it matters
Every command you type goes through the shell. Knowing it lets you automate boring work.
Full entry

In one line

Terminal
The text window where you type commands and read the replies.
Shell
The program that reads the commands you type and runs them.