setenv

Create an environment variable and set it equal to some value.

Syntax
       setenv [name [value]]

Options
       Without arguments, prints the names and values of all  environ-
       ment variables.	Given name, sets the environment variable name
       to value or, without value, to the null string..

This is a tcsh shell command.

"Have no friends not equal to yourself." - Confucious (Analects)

Related:

set - Set a shell variable = value
unset - Remove variable or function names

Equivalent (Linux) bash command:
set
- Manipulate shell variables and functions



Back to the Top

Simon Sheppard
SS64.com