Next Previous Contents

Bash Prompt HOWTO

Giles Orr, giles@interlog.com

v0.55, 1 December 1998


Creating and controlling terminal and xterm prompts is discussed, including incorporating standard escape sequences to give username, current working directory, time, etc. Further suggestions are made on how to modify xterm title bars, use external functions to provide prompt information, and how to use ANSI colours.

1. Introduction

2. Bash and Bash Prompts

3. External Commands

4. Xterm Title Bar Manipulations

5. Colours

6. The Bash Prompt Package

7. Loading a Different Prompt

8. Loading Prompt Colours Dynamically

9. Example Prompts


Next Previous Contents