ENV (1)

NAME

env - set environment for command invocation

CONTENTS

Synopsis
Description
Environment Variables
See Also

SYNOPSIS

env [-i] [name=value ...] [utility [argument ...]]

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

DESCRIPTION

The env command will either print a possibly modified environment or execute a utility with it.

If - or the -i option (which was introduced by POSIX.2) is given, the initial environment is cleared.

Each name=value pair is then put in the environment.

If no utility is given, the env command will print the current environment and exit.

Otherwise, utility will be executed using the remaining arguments.

ENVIRONMENT VARIABLES

The following environment variables are evaluated at the invocation of utility:
PATH Used to locate utility.

SEE ALSO

sh(1), execvp(3), environ(5)


Heirloom Toolchest ENV (1) 12/6/04
Generated by a modified version of manServer 1.07 from env.1 using man macros.