ENV(1)

NAME

env - run a command with a modified environment, or print the environment.

SYNOPSIS

env [--] [name=value ...] [command [argument ...]]

DESCRIPTION

env is a POSIX regular builtin provided by Rush. It runs a command with the exported shell environment plus the given assignments. Without a command, it prints that environment. -- ends option parsing.

This page summarizes the builtin in Rush documentation. POSIX is the normative reference for detailed portable behavior.

EXIT STATUS

See the POSIX definition for command-specific status rules. Usage errors generally return a non-zero status.

SEE ALSO

rush-builtins(7), POSIX Shell Command Language.