Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase

Model Technology Inc.


printenv

The printenv command echoes to the Main 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 Main window.

Syntax

printenv

[<var>...]

Arguments

<var>...

Specifies the name(s) of the environment variable(s) to print. Optional.

Examples

printenv

Prints all environment variable names and their current values. For example,

# CC = gcc
# DISPLAY = srl:0.0
...

 
printenv USER HOME

Prints the specified environment variables:

# USER = vince
# HOME = /scratch/srl/vince


Model Technology Inc.
Model Technology Incorporated
Voice: (503) 641-1340
Fax: (503)526-5410
www.model.com
sales@model.com
Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase