Home OS X
OS X Syntax

printenv

Print the names and values of all environment variables or, with name, the value of the environment variable name.

SYNTAX
      printenv [name]
	       
OPTIONS
   name  The name of the environment variable

Printenv is a tcsh shell command.

"Everything you read in newspapers is absolutely true, except for that rare story of which you happen to have first-hand knowledge" - Erwin Knoll

Related commands:

env - Display, set, or remove environment variables
set - Manipulate shell variables and functions
setenv - Set an environment variable = value

Equivalent BASH command:

printenv - Print environment variables



Back to the Top

Simon Sheppard
SS64.com