Query: env
OS: netbsd
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ENV(1) BSD General Commands Manual ENV(1)NAMEenv -- set and print environmentSYNOPSISenv [-i] [name=value ...] [utility [argument ...]]DESCRIPTIONenv executes utility after modifying the environment as specified on the command line. The option name=value specifies an environmental variable, name, with a value of value. The option '-i' causes env to completely ignore the environment it inherits. If no utility is specified, env prints out the names and values of the variables in the environment, with one name=value pair per line.EXIT STATUSenv exits with one of the following values: 0 utility was invoked and completed successfully. In this case the exit code is returned by the utility itself, not env. If no util- ity was specified, then env completed successfully and returned the exit code itself. 1 An invalid command line option was passed to env. 1-125 utility was invoked, but failed in some way; see its manual page for more information. In this case the exit code is returned by the utility itself, not env. 126 utility was found, but could not be invoked. 127 utility could not be found.COMPATIBILITYThe historic - option has been deprecated but is still supported in this implementation.SEE ALSOexecvp(3), environ(7)STANDARDSThe env utility conforms to IEEE Std 1003.2-1992 (``POSIX.2'').BUGSenv doesn't handle commands with equal (``='') signs in their names, for obvious reasons.BSDJune 8, 2007 BSD
Related Man Pages |
---|
printenv(1) - osf1 |
env(1) - sunos |
printenv(1) - freebsd |
tcp-env(1) - redhat |
tcp-env(1) - suse |
Similar Topics in the Unix Linux Community |
---|
HISTSIZE environment variable problem |
Add a line to a specific spot in a file |
top command line utility |
complex find command |
How to use env command to change GREP_OPTIONS variable? |