Back to DevOps Series
            What is Shell and Its Types:
            What is Shell and Its Types:

What is Shell and Its Types:

notion image

What is a shell?

A shell is a command-line interface (CLI) that lets you talk to an operating system by typing commands.
Think of it as a translator/mediator:
  • You tell the shell what you want (create files, run programs, check processes) and the shell translates that into OS actions and returns the results to you.
 

Two broad families of shells :

  1. Unix-like shells (Linux, macOS): sh, bash, ksh, csh, zsh, etc.
  1. Windows shells: cmd.exe (Command Prompt) , Windows Terminal and PowerShell.
 

Unix-like shells (Linux, macOS)

 
A Unix-like Shell is the place where you type commands on Linux or macOS.
  • sh (the original shell)
  • bash (the most popular shell on Linux)
  • zsh (default on macOS, more modern)
  • fish (friendly, beginner-focused)
Think of a Unix-like Shell as a command space where you tell Linux/macOS what to do.
 
A. ) Bourne Shell (sh)
A. ) Bourne Shell (sh)
B.) BASH  (Bourne Again SHell):
B.) BASH (Bourne Again SHell):
Zsh (Z Shell) :
Zsh (Z Shell) :
Other Unix Shells (Brief Overview)
Other Unix Shells (Brief Overview)
 

Home work :

sh vs Bash vs Zsh — Simple & Necessary Comparison (One Table) :
sh vs Bash vs Zsh — Simple & Necessary Comparison (One Table) :

Summary for Documentation

Here is a crisp summary you can include:
  • sh → original basic Unix shell
  • bash → most popular and widely used shell
  • zsh → modern, feature-rich shell
  • ksh → older enterprise scripting shell
  • csh / tcsh → C-like shells, rarely used today
 

Windows shells

 
A Windows Shell is the interface that allows you to run commands on Windows.
Just like Linux has bash, Windows has:
  • Command Prompt (cmd.exe)
  • PowerShell
  • Windows Terminal (a modern UI that can run cmd, PowerShell, WSL, etc.)
Think of a Windows Shell as a “place where you type instructions and Windows follows them.”
 
Command Prompt (cmd.exe) :
Command Prompt (cmd.exe) :
Windows Terminal :
Windows Terminal :
PowerShell :
PowerShell :

Comparison of Top 3 Windows Tools (CMD vs PowerShell vs Windows Terminal) : ( Your Home work )
Comparison of Top 3 Windows Tools (CMD vs PowerShell vs Windows Terminal) : ( Your Home work )