Page 1 of 1

Change BASH prefix

Posted: Mon Jul 16, 2007 8:20 pm
by Benjamin
In my terminal it says..

[benjamin@blah blah ip address ~]$

I have been trying to figure out how to change this to no avail. I added an entry to the host file but it didn't change it. I know this has to be simple. It's really annoying.

Posted: Mon Jul 16, 2007 10:21 pm
by feyd

Posted: Mon Jul 16, 2007 10:27 pm
by Benjamin
Yeah I tried searching but didn't know what to search for. I'll check that out. All I want to do is change the text.

Posted: Mon Jul 16, 2007 10:28 pm
by feyd
"bash prompt" was my search, I believe.

Posted: Tue Aug 07, 2007 9:18 am
by ibbo
Edit your bashrc file and add/ edit the

export PS1="$ " line

Ibbo