Why does the Linux server log in and displays the "-bash-3.2#"

  

environment variable? The user is indeed root when logging in. The problem of character display can be solved with these two commands:

-bash -3.2# cp /etc/skel/.{bash_profile,bashrc} ~ -bash-3.2# source ~/.bashrc

Copyright © Windows knowledge All Rights Reserved