Skip to content

Shell

Easy — everyone uses thisGeneral Dev

ELI5 — The Vibe Check

The shell is the program that reads what you type in the terminal and makes things happen. The terminal is the window, the shell is the brain inside it that understands your commands. It is the interpreter between you and the operating system.

Real Talk

A shell is a command-line interpreter that provides a user interface to the OS kernel. It parses and executes commands, manages environment variables, handles I/O redirection, and supports scripting with loops and conditionals. Common shells include Bash, Zsh, Fish, and PowerShell. The shell runs inside a terminal emulator.

Show Me The Code

# Check which shell you're using:
echo $SHELL
# /bin/zsh

# Switch to bash:
bash

# Shell scripting example:
for file in *.js; do
  echo "Processing $file"
done

When You'll Hear This

"Which shell are you using, Bash or Zsh?" / "Write a shell script to automate the deployment."

Made with passive-aggressive love by manoga.digital. Powered by Claude.