What does export PS1=">> "

https://www.codecademy.com/learn/learn-the-command-line

Hello everyone,

So in:

nano ~/.bash_profile

when I add the text

export PS1=">> "

and then save, exit, clear and source ~/.bash_profile, and then type “echo $HOME”, I have no idea what CA is trying to teach me.

What does export PS1=">> " do?

If I type “echo $HOME” without adding the PS1 line into the /.bash_profile, the output is exactly the same as when I do add the PS1. So I don’t understand what PS1 does, or what the application is.

I’m very new at all this, so simple English answers (imagine you’re talking to a stupid 5 year old…) would be most appreciated!

Thank you all!