Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    51
    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:
    166
    did you ever find the answer to this?
     
  3. hazelg

    hazelg Registered

    Joined:
    May 21, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice