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.

How do I set users alises and shell prompt?

Discussion in 'General Discussion' started by rnawky, Feb 7, 2010.

  1. rnawky

    rnawky Member

    Joined:
    Jan 13, 2010
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    How do I go about setting alises for users? By default I see

    Code:
    alias l.='ls -d .* --color=tty'
    alias ll='ls -l --color=tty'
    alias ls='ls --color=tty'
    alias vi='vim'
    alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
    But how can I add additional alises for users.

    Also, how can I change the
    Code:
    -jailshell-3.2$
    to something a little more user friendly like
    Code:
    user@host [working dir]$ 
     
  2. damainman

    damainman Well-Known Member

    Joined:
    Nov 13, 2003
    Messages:
    515
    Likes Received:
    0
    Trophy Points:
    16
    did you ever find the answer to this?
     
  3. hazelg

    hazelg Registered

    Joined:
    May 21, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I'm not yet so familiar about this kind of commands, so I'm also curious if this has been answered/ solved or not yet..

    I also want to learn about this command.
     
Loading...

Share This Page