STAGE 06 / LESSON 01
Linux and the command line
A command line helps you inspect files, processes and services on a machine.
THE IDEA
Understand it.
A shell starts programs and connects their input and output. pwd shows the current directory, ls lists entries, and cat displays a file. File permissions control which users can read, write or execute a file.
Before running a command that changes or deletes data, understand its target and effects. Avoid printing environment variables or logs that may contain credentials.
SEE IT IN CONTEXT
Inspect a project
pwd
ls -la
cat package.json
node --versionThese commands show the current location, directory contents, project manifest and Node.js version. Run them in the intended project directory.
LEARN FROM REAL WEBSITES
See it in the real world.
These simplified structures come from public sources. Company systems change, and the sources may describe only one project or an earlier design.
Netflix
Netflix engineering, 2020Linux isolation for containers
Netflix described using Linux user namespaces to improve isolation in its Titus container platform.
- Linux kernel
- User namespace
- Container isolation
What to learn: Linux provides isolation primitives that infrastructure tools can build on; this is a 2020 platform example.
Read the source: Netflix Linux user namespacesGitHub
GitHub, 2026Linux for automation runners
GitHub offers Linux runners for GitHub Actions workflows, including a smaller Linux runner described in its 2026 announcement.
- Workflow job
- Linux runner
- Commands execute
What to learn: A CI runner is an operating-system environment where shell commands can run; its contents depend on the runner configuration.
Read the source: GitHub Linux runnersTRY IT YOURSELF
Practice.
Why run pwd before changing project files?
Show one possible answer
It confirms where the shell is currently operating, reducing the chance of changing the wrong project or directory.
GO DEEPER