Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
ENV(1)                  FreeBSD General Commands Manual                 ENV(1)

NAME
       env - obtain or alter environment variables for command execution

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

DESCRIPTION
       env obtains the current environment, modifies it according to its
       arguments, and executes the command with the modified environment that
       results.

       If no command is specified, the resulting environment is displayed.

OPTIONS
       -                   Ignore the environment that would otherwise be
                           inherited from the current shell.  Restricts the
                           environment for command to that specified by the
                           arguments.

       name=value          Set the environment variable filename to value and
                           add it to the environment.

SEE ALSO
       sh(1), execve(2V), profil(2), environ(5V)

                               9 September 1987                         ENV(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=env&manpath=SunOS+4.1.3>

home | help