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.

Bash Prompt Changes to # Pound sign

Discussion in 'General Discussion' started by sfjimih, Apr 25, 2005.

  1. sfjimih

    sfjimih Member

    Joined:
    Apr 2, 2005
    Messages:
    6
    Likes Received:
    1
    Trophy Points:
    1
    I've noticed that cPanel changes the bash prompt for shell users on my RHEL system. And the non-root users have the pound symbol (#) in front of their prompt instead of the typical dollar sign ($). I'm not using Jailshell or anything like that.

    Anyone know how to change this behavior?
     
    mallardglyder likes this.
  2. bking

    bking Well-Known Member

    Joined:
    Mar 1, 2004
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney
    export PS1='whatever you want as your prompt, you can also call binaries like date etc...'
    in your .bashrc file.
     
Loading...

Share This Page