← BYTES
Operating System·Starter·Ref: 14.1.20

What is the purpose of an environment variable?

Have a question about this video? Mention reference 14.1.20 when you contact us.

a.To control the physical temperature of the server room
b.A type of file system used only on Linux
c.A variable that can only be used inside the kernel's own source code
d.A named value, set in a process's environment, that configurable behavior (like where to find executables, or application-specific settings) can be read from, inherited by child processes when they're created
Environment variables (like PATH, HOME, or an application-specific config value) provide a simple, universal mechanism for passing configuration into a process without hardcoding it in source code or a config file -- and since child processes typically inherit their parent's environment at creation time, this is also a lightweight way to propagate settings down through a chain of processes.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES14120#OperatingSystem