# Knowledge Check: Linux and the Shell --- **1. What's the difference between a shell and a terminal?** *Answer:* The terminal is the window/program that displays text and captures keystrokes; the shell (e.g. `bash`) is the program actually interpreting what you type as commands. The terminal is the display, the shell is the brain. --- **2. A command exits with code `0`. What does that tell you?** *Answer:* It succeeded. `0` is the universal "success" convention every script and pipeline relies on; any non-zero value means some kind of failure occurred. --- **3. You've typed half a long path and can't remember the rest. What should you press?** *Answer:* Tab — tab completion finishes the path (or shows the options) without you needing to type or remember it exactly. --- **4. Where would you look to learn every option a command supports, without leaving the terminal?** *Answer:* Its manual page — `man `. ## Instructor Notes **Facilitation:** Question 1 is the one students most often blur together — worth confirming verbally before moving on. **Approximate timing:** 5 minutes.