I have an Ubuntu server that I administer through ssh. When I login as root I get a full path in the prompt, like /var/www. I created a user with sudo privileges for the purpose of administration. When I login, all I see in the command prompt is a $ sign. Is there a fix for this?
|
|
||||
|
This is controlled by the You can google for lots of possible values of |
|||
|
|
|
If you see just If you intend to log in as that user interactively, I recommend changing your login shell to bash:
|
|||
|
|

/root/.bashrcfile or the global/etc/bash.bashrcfile to see the value of thePS1variable for therootuser and the system's defaults, respectively. – htor Feb 20 '12 at 16:30