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.
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.
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.
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.