Querying environment variables

You can use one of these commands to query the value of an environment variable:

  • In any shell, use the echo command.
  • In the Korn shell, use the print command.
For example, to determine the default logical printer, enter:

Note: InfoPrint Manager uses default values for some InfoPrint Manager environment variables without setting the environment variable. When you query those environment variables and you have not set a value, the response is a blank line.

To query all environment variables that have values set, enter: env