Home > Bash, Linux > How to Fix an Empty Bash Shell Prompt

How to Fix an Empty Bash Shell Prompt

If you bash shell prompt is empty when logging in, here’s how to fix it.

Create a ~/.bashrc file:

if [ -f /etc/bashrc ]; then
	. /etc/bashrc
fi

Create a ~/.bash_profile file:

if [ -f ~/.bashrc ]; then
	. ~/.bashrc
fi
Categories: Bash, Linux Tags:
  1. No comments yet.
  1. No trackbacks yet.