What happens when this is stored in ~/.bash_profile?

export PS1=">> "

PS1 is a variable that defines the makeup and style of the command prompt.

  1. export PS1=">> " sets the command prompt variable and exports the variable. Here we change the default command prompt from $ to >>.
  2. After using the source command, the command line displays the new command prompt.
Community Forums
Get help and ask questions in the Codecademy Forums
Report a Bug
If you see a bug or any other issue with this page, please report it here.