The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Поиск:  Каталог документации

Setting shell variables

To define a temporary value to a shell variable use the command:

   set variable_name=value

The value of this variable will remain set until you exit from this shell. The value of this variable is not exported to other C shells when they are invoked.

To give a lasting value to a shell variable:

1. Use an editor to open your .cshrc (.tcshrc) file and add the line:

   set variable_name=value

2. Save the file and leave the editor.

3. Enter the command:

   source .cshrc

This adds the value of the shell variable to your shell's present environment. When other C shells are invoked they will also have this variable set.


[Home] [Search] [Index]



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру