The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Changes to bash shell appearance

Discussion in 'General Discussion' started by akust0m, Jun 14, 2016.

  1. akust0m

    akust0m Well-Known Member

    Joined:
    Feb 19, 2016
    Messages:
    45
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    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 = "[root@server ~]" - After cPanel install = "root@server [~]"
    Thanks!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page