Guides 11791 Published by

A tutorial on customizing the bash prompt in Linux was made available by TecAdmin.



How To Customize Bash Prompt (PS1) In Linux

In Linux, PS1 is an environment variable that specifies the format of the command prompt displayed in the terminal. It stands for “Prompt String 1” and it is used to customize the appearance of the prompt. By default, the bash prompt includes the current username, hostname, and current working directory, followed by the `$` symbol.



How To Customize Bash Prompt (PS1) In Linux – TecAdmin