$title = "Changing shell variables - set"; $area = "Unix Support"; $metadata = "unix, commands, shell, variable, set"; $pfloc = ""; require '/usr/local/wwwdocs/ucs/fragments/header.phtml'; require '/usr/local/wwwdocs/ucs/fragments/header-bc.phtml'; ?>
The C shell has a number of variables which are not exported to the environment. To define a temporary value for a shell variable use the command:
set variable=value
The value of this variable will remain set until you exit from the current shell but is not exported to other C shells when they are invoked. For the variable to be set in each invocation of the shell, the set command should be included in your .cshrc file.
require '/usr/local/wwwdocs/ucs/fragments/footer.phtml'; ?>