HPlogo HP-UX Reference > P

printenv(1)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

NAME

printenv — print out the environment

SYNOPSIS

printenv [name]

DESCRIPTION

printenv prints out the values of the variables in the environment. If a name is specified, only its value is printed.

RETURN VALUE

If a name is specified and it is not defined in the environment, printenv returns 1; otherwise it returns zero.