Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

That's just a default setting. Why? No clue. But you can change it and customize your bash prompt!

I'll post a few links here that you could take a look at. If you are having trouble following these instructions, let us know

  • https://wiki.archlinux.org/index.php/Bash/Prompt_customization
  • https://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html
  • https://www.kirsle.net/wizards/ps1.html
  • https://www.linux.com/learn/how-make-fancy-and-useful-bash-prompt-linux

TL;DR:

export PS1='[\u@\h:\w]$'

(now you just need to make it permanent by adding the export to your .bashrc config file