Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| labs:custom_prompt [2022/01/28 16:50] – [Bash Escape Sequences] admin | labs:custom_prompt [2022/01/28 16:59] (current) – [Bash Escape Sequences] admin | ||
|---|---|---|---|
| Line 35: | Line 35: | ||
| \! the history number of this command | \! the history number of this command | ||
| \# the command number of this command | \# the command number of this command | ||
| - | \$ if the effective UID is 0, a #, otherwise | + | \$ if the effective UID is 0, a #, otherwise a $ |
| - | $ | + | \nnn |
| - | \nnn | + | |
| - | number nnn | + | |
| \\ a backslash | \\ a backslash | ||
| \[ begin a sequence of non-printing characters, | \[ begin a sequence of non-printing characters, | ||
