tools/your-first-terminal-commands-pwd-ls-cd-and-friends-with-no-fear.md
Your first terminal commands: pwd, ls, cd and friends, with no fear
The terminal is a window where you type commands instead of clicking, and about a dozen of them cover most of what you'll do every day: pwd, ls and cd to find your way around, mkdir, touch, cp, mv and rm to manage files, cat and echo to read and write them.
This guide explains what a path is (absolute vs relative, plus the shortcuts . .. and ~), why rm has no undo, and how Tab completion saves you from typos. Then you practise everything in a safe in-page terminal with a guided quest.
$ ls tools/
see all →
tools/debugging-for-beginners-step-through-code-to-find-an-off-by-one.md
Debugging for beginners: step through code to find an off-by-one
Your code prints 6 and you expected 10. A debugger lets you slow the program down, run one line at a time, and watch every variable change…
tools/git-basics-where-your-work-lives-and-why-branches-are-just-pointers.md
Git Basics: Where Your Work Lives and Why Branches Are Just Pointers
Git saves your project's history as commits: snapshots you choose to take, each with a short message. The trick to understanding it is…