Table of Contents

How to manage Environment variables in Linux ?

About

This page is about Process Environment variable in Linux.

Management

Set

Shell

They are set generally with the shell. See Variable

PAM

pam permits also an admin to set environment variable: See pam-env

The file used to set the environment variable are the below one:

Get the env of a process

Start with a clean environment

clean env