The PS1 variable contains the value of the default prompt. It is used to change the looks and environment of the shell command prompt.