show: Show an environment variable

Package: language

Usage

show [varname]

Parameters

varname
The name of the environment variable to be displayed.

Description

The show command shows the current values of all defined environment variables if called with no arguments, or the value of a specific variable if an argument is given. Unlike set, only current values are shown, not the entire history of the definitions of environment variables.

Examples

1. Show the current default printer device.

cl> show printer

2. Show all "std" (standard i/o stream) related variables.

cl> show | match std

See also

set