Glossary

Environment variable

A named value processes inherit when they start.

Environment variables are KEY=value strings handed to every process at launch: PATH lists where to look for commands, HOME is your directory, EDITOR your preference, and applications commonly read their configuration (DATABASE_URL, API_KEY) from them.

Inheritance is a copy made once, downward: children receive the parent's environment, and nothing a child changes flows back. export promotes a shell variable into the environment; without it, the variable stays private to the shell.

See it in practice

$ DEBUG=1 ./app

Sets a variable for exactly one command. It exists for that process and disappears afterwards — no export, no cleanup.

Where you'll meet it

env & export

How configuration flows into processes — PATH, export, and why edits "don't stick".

PATH

The ordered list of directories the shell searches for commands.

Process

A running program, with its own ID, memory and environment.

Learn these concepts by typing them: the interactive course builds them up lesson by lesson in a real simulated shell.