|
Lines 1173-1179
Link Here
|
| 1173 |
placing a <literal>$</literal> character in front of it on the |
1173 |
placing a <literal>$</literal> character in front of it on the |
| 1174 |
command line. For example, <command>echo $TERM</command> would |
1174 |
command line. For example, <command>echo $TERM</command> would |
| 1175 |
print out whatever <envar>$TERM</envar> is set to, because the shell |
1175 |
print out whatever <envar>$TERM</envar> is set to, because the shell |
| 1176 |
expands <envar>$TERM</envar> and passes it on to echo.</para> |
1176 |
expands <envar>$TERM</envar> and passes it on to <command>echo</command>.</para> |
| 1177 |
|
1177 |
|
| 1178 |
<para>Shells treat a lot of special characters, called meta-characters |
1178 |
<para>Shells treat a lot of special characters, called meta-characters |
| 1179 |
as special representations of data. The most common one is the |
1179 |
as special representations of data. The most common one is the |
|
Lines 1206-1212
Link Here
|
| 1206 |
<option>-s</option> option; this will set your shell for you, |
1206 |
<option>-s</option> option; this will set your shell for you, |
| 1207 |
without requiring you to enter an editor. |
1207 |
without requiring you to enter an editor. |
| 1208 |
For example, if you wanted to |
1208 |
For example, if you wanted to |
| 1209 |
change your shell to bash, the following should do the |
1209 |
change your shell to <command>bash</command>, the following should do the |
| 1210 |
trick:</para> |
1210 |
trick:</para> |
| 1211 |
|
1211 |
|
| 1212 |
<screen>&prompt.user; <userinput>chsh -s /usr/local/bin/bash</userinput></screen> |
1212 |
<screen>&prompt.user; <userinput>chsh -s /usr/local/bin/bash</userinput></screen> |