Technical data
printenv
CR-114 ModelSim Commands ModelSim EE/SE Command Reference
printenv
The printenv command echoes to the Transcript window the current names and
values of all environment variables. If variable names are given as arguments,
prints only the names and values of the specified variables. Returns nothing. All
results go to the Transcript window.
Syntax
printenv
[<var>...]
Arguments
<var>...
Specifies the name(s) of the environment variable to print. Optional.
Examples
printenv
Prints all environment variable names and their current values (usually a dozen or
so):
# CC = gcc
# DISPLAY = srl:0.0
...
printenv USER HOME
Prints the specified environment variables:
# USER = vince
# HOME = /scratch/srl/vince