Shell / Commands

Environment Variable

English

Overview

A named setting that a shell or process can reference.

Details

A named value inherited by a process, used to share settings that affect a program's behavior, such as PATH. Simply assigning a value to a variable without export leaves it a shell variable that child processes never inherit -- a distinction that's a common source of confusion.

More Linux terms