![image](https://hackmd.io/_uploads/BkxDh0Yoa.png) # Customizing your Bash Prompt ## Basic Modifiers - `\u` - username - `\H` - hostname - `\s` - shell name - `\v` - shell version - `\d` - today's date in weekday/month/day - `\t` - time in 24-hour format - `\T` - time in 12-hour format - `\w` - full pathname - `\W` - current directory <br> ## Setting colors in the prompt - `tput setaf N` - foreground color - `tput setab N` - background color - `tput op` - reset <br> ## Color Codes - `0` - Black - `1` - Red - `2` - Green - `3` - Brown - `4` - Blue - `5` - Purple - `6` - Cyan - `7` - White