🌐 Linux Free Masterclass (Episode 23): Bash Shell (Bash & Shell Basics)
What software sits behind your terminal screen translating typed commands into instructions the operating system executes? The Shell—most notably the Bash (Bourne Again SHell) interpreter.
Here are the key points from Episode 23:
🔹 1. What is a Shell & Bash?
The Shell: A command interpreter acting as a bridge between the user and the Linux kernel, translating human-entered commands into actions the kernel can execute.
Bash (Bourne Again SHell): The default and widely adopted shell across most Linux distributions, combining classic Bourne shell capabilities with modern usability features.
🔹 2. Checking Your Shell & Core Shell Capabilities
Identify Active Shell: Run echo $SHELL in the terminal (typically outputting /bin/bash).
Productivity Features: Beyond executing commands, Bash streamlines workflows through Tab auto-completion, command history navigation (Up/Down arrow keys), and shell variables.
🔹 3. Interactive vs. Non-Interactive Shells
Interactive Shell: A live session where you type commands manually and receive immediate responses in the terminal.
Non-Interactive Shell: A session spawned automatically—such as when running a shell script or background task—that executes commands sequentially without direct user prompts.
🚀 Think of the shell like a capable prime minister bridging the people (users) and the sovereign ruler (the Linux kernel): it receives requests, translates them into clear directives, and ensures execution runs smoothly!

