ENV(1) General Commands Manual ENV(1)

# [NAME](#NAME)

env - Set each NAME to VALUE in the environment and run COMMAND

# [SYNOPSIS](#SYNOPSIS)

**env** \[OPTION]... \[-] \[NAME=VALUE]... \[COMMAND \[ARG]...]

# [DESCRIPTION](#DESCRIPTION)

Set each NAME to VALUE in the environment and run COMMAND

# [OPTIONS](#OPTIONS)

[**-i**, **--ignore-environment**](#i)

start with an empty environment

[**-C**, **--chdir** *&lt;DIR&gt;*](#C)

change working directory to DIR

**-0**, **--null**

end each output line with a 0 byte rather than a newline (only valid when printing the environment)

[**-f**, **--file** *&lt;PATH&gt;*](#f)

read and set variables from a ".env"-style configuration file (prior to any unset and/or set)

[**-u**, **--unset** *&lt;NAME&gt;*](#u)

remove variable from the environment

[**-v**, **--debug**](#v)

print verbose information for each processing step

[**-S**, **--split-string** *&lt;S&gt;*](#S)

process and split S into separate arguments; used to pass multiple arguments on shebang lines

[**-a**, **--argv0** *&lt;a&gt;*](#a)

Override the zeroth argument passed to the command being executed. Without this option a default value of \`command\` is used.

[**--ignore-signal**\[=*&lt;SIG&gt;*\]](#ignore)

set handling of SIG signal(s) to do nothing

[**--default-signal**\[=*&lt;SIG&gt;*\]](#default)

reset handling of SIG signal(s) to the default action

[**--block-signal**\[=*&lt;SIG&gt;*\]](#block)

block delivery of SIG signal(s) while running COMMAND

[**--list-signal-handling**](#list)

list signal handling changes requested by preceding options

[**-h**, **--help**](#h)

Print help

[**-V**, **--version**](#V)

Print version

\[*vars*]

# [EXTRA](#EXTRA)

A mere - implies -i. If no COMMAND, print the resulting environment.

# [VERSION](#VERSION)

v(uutils coreutils) 0.12.0

2026-10-29

---

Document: env(1) from uutils 0.12.0-r5 (Chainguard OS)
Source: https://github.com/uutils/coreutils
