Changes to bash shell appearance

akust0m

Well-Known Member
Feb 19, 2016
70
4
8
Melbourne
cPanel Access Level
Root Administrator
Hello,

I see that after an install of cPanel, it changes the way the bash shell looks.
  • It seems that the command "ls" now shows hidden files by default. How can this be changed back to the way it was?
  • It has changed the layout of the current directory section. How can this be changed back to the way it was? Example Default CentOS = "[[email protected] ~]" - After cPanel install = "[email protected] [~]"
Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
Hello,

As of cPanel & WHM version 56, the installation process preserves the system defaults and user customizations to the /etc/bashrc, /etc/issue, and /etc/issue.net files. To override these settings, you can run the command:

Code:
/usr/local/cpanel/scripts/copy-etc-files
The following URL includes discussion of how to restore the system default bash profile if you installed cPanel prior to version 56:

How do I restore the default bashrc?

Thank you.