Here’s how to restore or set the Bash prompt on RHEL systems.

<pre lang="bash">
echo "PS1='\u@\h \w]\$'" >> ~/.bashrc
source ~/.bashrc