
What stdin (standard input) is, in plain words: where a program reads data from, why CI and AI agents hang on a question, and how to fix it.

What a shebang (#!) at the top of a script is, in plain words: who reads that line, why /usr/bin/env exists, and where the mysterious python3\r comes from.

Single vs double quotes in bash and zsh: how they differ, why echo eats $5 and exclamation marks, and which quotes to use for JSON, git and curl.

What is xargs in plain words: why you need it, why echo file | rm does nothing, how to avoid tripping on spaces and quotes, and what xargs -0 does.

Terminal keyboard shortcuts for beginners: search history with Ctrl+R, jump to line start, delete a word, paste back what you cut. 8 combos for Mac and Linux.

How to create a terminal alias on macOS and Linux: a short command instead of a long one, saving it in .zshrc or .bashrc, and why aliases fail in scripts.

Why your terminal is frozen and won't respond to keys: a command waiting for input, an unclosed quote, or a pressed Ctrl+S. How to check and get it back.

What a subshell in bash is, in plain words: why a variable set in a while loop after a pipe vanishes, what ( ) is for, and how to keep cd and counters.

What a heredoc in bash is, in plain words: how cat <<EOF works, why the $ inside disappear, why to quote 'EOF', and how AI agents use it for commits.

Why a bash script breaks on files with spaces: quotes around variables, looping over ls, $* versus $@, and the empty variable that wiped a disk.

What a pipe (|) is in the terminal, in plain words: why commands run at the same time, where Broken pipe comes from, and how to feed logs straight to AI.

How source differs from running ./script.sh: why cd and export don't stick, why activate breaks, and why exit in a sourced file closes your terminal.

How to bulk rename files in the terminal: a bash loop, Rename-Item on Windows, a dry run, and protection from overwrites when two names collide.

How && differs from ; in bash: what happens when the first command fails, which exit code the chain returns, what to do in PowerShell and when to use each.

Permission denied when running a script: four real causes and how to check each one. Why sudo doesn't help, what Git breaks, and how to fix the ^M error.

What are stdout and stderr in plain words: every program's two outputs, how > and 2>&1 work, why order matters, and why Python logs in Docker show up late.

What is a program exit code in plain words: what 0, 1, 127, 130 and 137 mean, how to check it with echo $? and why a single pipe | can break your CI.