Manual: rust-env
ENV(1) General Commands Manual ENV(1)
NAME
env - Set each NAME to VALUE in the environment and run COMMAND
SYNOPSIS
env [-i|--ignore-environment] [-C|--chdir] [-0|--null] [-f|--file] [-u|--unset] [-v|--debug]... [-S|--split-string]
[-a|--argv0] [--ignore-signal] [--default-signal] [--block-signal] [--list-signal-handling] [-h|--help] [-V|--verβ
sion] [vars]
DESCRIPTION
Set each NAME to VALUE in the environment and run COMMAND
OPTIONS
-i, --ignore-environment
start with an empty environment
-C, --chdir
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
read and set variables from a ".env"-style configuration file (prior to any unset and/or set)
-u, --unset
remove variable from the environment
-v, --debug
print verbose information for each processing step
-S, --split-string
process and split S into separate arguments; used to pass multiple arguments on shebang lines
-a, --argv0
Override the zeroth argument passed to the command being executed. Without this option a default value of
`command` is used.
--ignore-signal[=]
set handling of SIG signal(s) to do nothing
--default-signal[=]
reset handling of SIG signal(s) to the default action
--block-signal[=]
block delivery of SIG signal(s) while running COMMAND
--list-signal-handling
list signal handling changes requested by preceding options
-h, --help
Print help
-V, --version
Print version
[vars]
EXTRA
A mere - implies -i. If no COMMAND, print the resulting environment.
VERSION
v(uutils coreutils) 0.8.0
2026-04-16 ENV(1)