*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> env (1)              


ENV(1)									ENV(1)

NAME    [Toc]    [Back]

     env, printenv - set environment for command execution, print environment

SYNOPSIS    [Toc]    [Back]

     env [-i] [-] [ name=value ... ] [ command args ]
     printenv [	name ]

DESCRIPTION    [Toc]    [Back]

     Env obtains the current environment, modifies it according	to its
     arguments,	then executes the command with the modified environment.
     Arguments of the form name=value are merged into the inherited
     environment before	the command is executed.

     If	no command is specified, the resulting environment is printed, one
     name-value	pair per line.

     Printenv prints out the names and values of the variables in the
     environment, with one name/value pair per line.  If name is specified,
     only its value is printed.	 If name is not	defined	in the environment,
     printenv returns exit status 1, else it returns status 0.

OPTIONS    [Toc]    [Back]

     -i	  Invoke command with exactly the environment specified	by the
	  arguments; the inherited environment will be ignored ocmpletely.

     -	  Obsolescent form of -i.

SEE ALSO    [Toc]    [Back]

     csh(1), sh(1), exec(2), profile(4), environ(5)

BUGS    [Toc]    [Back]

     Env doesn't handle	commands with equal (``='') signs in their names, for
     obvious reasons.

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
env HP-UX set environment for command execution
pxeboot FreeBSD Preboot Execution Environment (PXE) bootloader
printenv FreeBSD print out the environment
printenv HP-UX print out the environment
env OpenBSD set and print environment
printenv OpenBSD print out the environment
env FreeBSD set and print environment
printenv Linux print all or part of environment
setoncenv HP-UX NFS environment configuration command
userenv IRIX print user's login environment
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service