Change Shell Prompt

Hi again so I was wondering if there was a 1 line bash prompt configuration we could use.

Default Bash:

┌─[username@parrot]─[~]
└──╼ $ echo "test"

One Line Bash:

username@parrot:/home/username$ echo "test"

Change your PS1 environment variable in your ~/.bashrc:

export PS1='\u@parrot:\w$

Check out the PROMPTING section in man bashfor a detailed explanation.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.