Home OS X
OS X Syntax

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 commands:

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

Equivalent BASH command:

set
- Manipulate shell variables and functions



Back to the Top

Simon Sheppard
SS64.com