Go to main content
マニュアルページ セク ション 1: ユー ザーコマンド

印刷ビューの終了

更新: 2016年12月6日
 
 

printenv(1B)

名前

printenv - display environment variables currently set

形式

/usr/ucb/printenv [variable]

説明

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

属性

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
compatibility/ucb

関連項目

csh(1), echo(1), sh(1), stty(1), tset(1B), attributes(5), environ(5)

診断

If a variable is specified and it is not defined in the environment, printenv returns an exit status of 1.

This command is obsolete and will be removed in a future release of Oracle Solaris. See printenv(1) for an alternate implementation of this command.