|
Lines 1337-1345
Link Here
|
| 1337 |
.Dq Li "$ " , |
1337 |
.Dq Li "$ " , |
| 1338 |
unless you are the superuser, in which case it defaults to |
1338 |
unless you are the superuser, in which case it defaults to |
| 1339 |
.Dq Li "# " . |
1339 |
.Dq Li "# " . |
|
|
1340 |
.Va PS1 |
| 1341 |
may include any of the following formatting sequences, |
| 1342 |
which are replaced by the given information: |
| 1343 |
.Bl -tag -width indent |
| 1344 |
.It Li \eH |
| 1345 |
The local hostname |
| 1346 |
.It Li \eh |
| 1347 |
The fully-qualified hostname |
| 1348 |
.It Li \eW |
| 1349 |
The final component of the current working directory |
| 1350 |
.It Li \ew |
| 1351 |
The entire path of the current working directory |
| 1352 |
.It Li \e$ |
| 1353 |
Superuser status. |
| 1354 |
.Dq Li " $ " |
| 1355 |
for normal users and |
| 1356 |
.Dq Li "# " |
| 1357 |
for superusers. |
| 1358 |
.It Li \e\e |
| 1359 |
A literal backslash |
| 1360 |
.El |
| 1340 |
.It Va PS2 |
1361 |
.It Va PS2 |
| 1341 |
The secondary prompt string, which defaults to |
1362 |
The secondary prompt string, which defaults to |
| 1342 |
.Dq Li "> " . |
1363 |
.Dq Li "> " . |
|
|
1364 |
.Va PS2 |
| 1365 |
may include any of the formatting sequences from |
| 1366 |
.Va PS1 . |
| 1343 |
.It Va PS4 |
1367 |
.It Va PS4 |
| 1344 |
The prefix for the trace output (if |
1368 |
The prefix for the trace output (if |
| 1345 |
.Fl x |
1369 |
.Fl x |