Bash Prompt Customization

Here are the backslash-escape special characters that have meaning to bash: \a an ASCII bell character (07) \d the date in “Weekday Month Date” format (e.g., “Tue May 26”) \e an ASCII escape character (033) \h the hostname up to the first `.’ \H the hostname \j the number of Read more…

Share