| \d | the date in “Weekday Month Date” format |
| \h | the host name up to the first |
| \H | the host name |
| \n | newline |
| \s | the name of the shell, the base name of $0 |
| \t | the current time in 24-hour HH:MM:SS format |
| \T | the current time in 12-hour HH:MM:SS format |
| \@ | the current time in 12-hour AM/PM format |
| \u | the user name of the current user |
| \w | the current working directory |
| \! | the history number of this command |
| \# | the command number of this command |
| \$ | if the effective UID is 0, $ otherwise |
| \W | the base name of the current working directory |