env Command Examples

Show the environment or run a program in a modified environment. More information: https://www.gnu.org/software/coreutils/env.

env

env {{program}}

env -i {{program}}

env -u {{variable}} {{program}}

env {{variable}}={{value}} {{program}}

env {{variable1}}={{value}} {{variable2}}={{value}} {{variable3}}={{value}} {{program}}