PRINTENV

Section: User Commands (1)
Index Return to Main Contents

BSD mandoc
 

NAME

printenv - print out the environment  

SYNOPSIS

[name ]  

DESCRIPTION

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 a name is specified and it is not defined in the environment, returns exit status 1, else it returns status 0.  

SEE ALSO

csh(1), sh(1), environ(7)  

HISTORY

The command appeared in BSD 3.0


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
HISTORY

This document was created by man2html, using the manual pages.
Time: 04:32:12 GMT, April 24, 2025