I've always used the term "environment variable", but I have a well-informed colleague who consistently says "environmental variable".
Which one is correct?
I've always used the term "environment variable", but I have a well-informed colleague who consistently says "environmental variable".
Which one is correct?
While environmental variable is used occasionally, environment variable is overwhelmingly more common:
Wikipedia: Environment Variable
Arch Linux wiki: Environment variables
Linux man pages:
environ(7) -- "Environment variables may be..."getenv(3) -- "get an environment variable"execve(2) -- just "environment"bash(1) -- mostly just "environment", but occasionally "environment variable" and never "environmental"Linux kernel
git grep -i 'environment var' | wc -l => 183git grep -i 'environmental var' | wc -l => 2MSDN
getenv() -- "Environment variable name"GetEnvironmentVariable()Environment.GetEnvironmentVariable()Python
Perl
Env -- "Perl maintains environment variables..."Stack Overflow
environment-variables tag exists, but environmental-variables does not"Environment Variables" is the correct.
And as you have mentioned about MSDN, I would like to further add that on Windows Machine, the start search also shows "Edit the system environment variables" as follows: