The terminal displays bash-2.3-$ instead of Username@computename
My terminal is showing bash-2.3-$ instead of Username@computename. I am not a linux administrator so please try to answer it in plain language so that i full understand
Regards Blessing |
Open a terminal and make sure that you are in the home-folder of your user. You can do that with a simple
Code:
cd Code:
echo "PS1='\u@\h:\w\$ '" >>.bashrc You can tweak the prompt to your liking, have a look at this. |
or add the following to .bashrc
Code:
. /etc/profile |
Hi
Thanxs it worked. I am glad Blessing |
if you're happy with your solution, please mark it as solved ^^
:hattip: |
Here are some links on how to customize your prompt:
http://www.pantz.org/software/shell/...ellprompt.html https://wiki.archlinux.org/index.php/Color_Bash_Prompt http://www.cyberciti.biz/faq/bash-sh...linux-or-unix/ |
All times are GMT -5. The time now is 01:12 PM. |