How to: Change / Setup bash custom prompt (PS1)

So how do you setup, change and pimp out Linux / UNIX shell prompt? Most of us work with a shell prompt. By default most Linux distro displays hostname and current working directory. You can easily customize your prompt to display information important to you. You change look and feel by adding colors. In this […]

BASH Shell change the color of the shell prompt in Linux or UNIX

You can change the color of your shell prompt to impress your friend or to make your own life quite easy while working at command prompt. In the Linux default shell is BASH. Your current prompt setting is stored in PS1 shell variable. There are other variables too, like PS2, PS3 and PS4. Bash displays […]