Linux for Developers
/Beginner
Shell & Terminal
Definition
The Terminal is the visual window where you type. The Shell is the underlying program (like Bash or Zsh) that reads what you typed, interprets it, and tells the OS to execute it.
Explain Like I'm New
The Terminal is the physical steering wheel. The Shell is the mechanical steering column that connects the wheel to the car's engine.
Real World Example
You open the Terminal app. You type `ls`. The Bash Shell reads the text 'ls', figures out that it means 'list files', and asks the Kernel to fetch the file names and print them back to the screen.
Common Use Cases
- •Executing commands
- •Scripting automation
Interview Questions
basic
- What is the most common default Shell used in almost all Linux systems?
intermediate
- If you change your Shell from Bash to Zsh, do you have to get a new Terminal application?