|
Lines 1150-1162
Link Here
|
| 1150 |
</informaltable> |
1150 |
</informaltable> |
| 1151 |
|
1151 |
|
| 1152 |
<indexterm><primary>Bourne shells</primary></indexterm> |
1152 |
<indexterm><primary>Bourne shells</primary></indexterm> |
| 1153 |
<para>To view or set an environment variable differs somewhat from |
1153 |
<para>To set an environment variable differs somewhat from |
| 1154 |
shell to shell. For example, in the C-Style shells such as |
1154 |
shell to shell. For example, in the C-Style shells such as |
| 1155 |
<command>tcsh</command> and <command>csh</command>, you would use |
1155 |
<command>tcsh</command> and <command>csh</command>, you would use |
| 1156 |
<command>setenv</command> to set and view environment variables. |
1156 |
<command>setenv</command> to set environment variables. |
| 1157 |
Under Bourne shells such as <command>sh</command> and |
1157 |
Under Bourne shells such as <command>sh</command> and |
| 1158 |
<command>bash</command>, you would use <command>set</command> and |
1158 |
<command>bash</command>, you would use |
| 1159 |
<command>export</command> to view and set your current environment |
1159 |
<command>export</command> to set your current environment |
| 1160 |
variables. For example, to set or modify the |
1160 |
variables. For example, to set or modify the |
| 1161 |
<envar>EDITOR</envar> environment variable, under <command>csh</command> or |
1161 |
<envar>EDITOR</envar> environment variable, under <command>csh</command> or |
| 1162 |
<command>tcsh</command> a |
1162 |
<command>tcsh</command> a |