.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.TH ENV 1 "2026-09-01"
.SH NAME
env \- Set each NAME to VALUE in the environment and run COMMAND
.SH SYNOPSIS
\fBenv\fR [OPTION]... [\-] [NAME=VALUE]... [COMMAND [ARG]...]
.SH DESCRIPTION
Set each NAME to VALUE in the environment and run COMMAND
.SH OPTIONS
.TP
\fB\-i\fR, \fB\-\-ignore\-environment\fR
start with an empty environment
.TP
\fB\-C\fR, \fB\-\-chdir\fR \fI
\fR
change working directory to DIR
.TP
\fB\-0\fR, \fB\-\-null\fR
end each output line with a 0 byte rather than a newline (only valid when printing the environment)
.TP
\fB\-f\fR, \fB\-\-file\fR \fI\fR
read and set variables from a ".env"\-style configuration file (prior to any unset and/or set)
.TP
\fB\-u\fR, \fB\-\-unset\fR \fI\fR
remove variable from the environment
.TP
\fB\-v\fR, \fB\-\-debug\fR
print verbose information for each processing step
.TP
\fB\-S\fR, \fB\-\-split\-string\fR \fI\fR
process and split S into separate arguments; used to pass multiple arguments on shebang lines
.TP
\fB\-a\fR, \fB\-\-argv0\fR \fI\fR
Override the zeroth argument passed to the command being executed. Without this option a default value of `command` is used.
.TP
\fB\-\-ignore\-signal\fR[=\fI\fR]
set handling of SIG signal(s) to do nothing
.TP
\fB\-\-default\-signal\fR[=\fI\fR]
reset handling of SIG signal(s) to the default action
.TP
\fB\-\-block\-signal\fR[=\fI\fR]
block delivery of SIG signal(s) while running COMMAND
.TP
\fB\-\-list\-signal\-handling\fR
list signal handling changes requested by preceding options
.TP
\fB\-h\fR, \fB\-\-help\fR
Print help
.TP
\fB\-V\fR, \fB\-\-version\fR
Print version
.TP
[\fIvars\fR]
.SH EXTRA
A mere \- implies \-i. If no COMMAND, print the resulting environment.
.SH VERSION
v(uutils coreutils) 0.11.0