DEV Community

Kazutora Hattori
Kazutora Hattori

Posted on

I've summarized the differences between terminal and shell

Introduction

I didn't fully understand the difference between a terminal and a shell, so I'd like to summarize it again.

What is a terminal?

A terminal refers to the hardware, such as a keyboard (input) and a display (output), through which users input and output characters.

A software version of a terminal is called a "terminal emulator."

Examples: GNOME Terminal, Windows Terminal, iTerm2, etc.

What is a shell?

A shell is software that interprets and executes commands entered by the user.

Examples: bash, zsh, fish.

Summary

A terminal is a place to type.
A shell is a program that understands and executes commands.

Top comments (0)