Change BASH prefix

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Change BASH prefix

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

"bash prompt" was my search, I believe.
User avatar
ibbo
Forum Commoner
Posts: 51
Joined: Tue Sep 19, 2006 6:20 am

Post by ibbo »

Edit your bashrc file and add/ edit the

export PS1="$ " line

Ibbo
Post Reply