[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: console prompt question




On Tue, 21 Nov 2000, Jason Smith wrote:

> I have a minor cosmetic problem on one of my machines.  As of yesterday when
> you login as a regular user the prompt shows 'I have no name!@pentium:~$'
> How did this happen and how do I go about changing it back so it shows
> 'user@pentium:~$'
> 
Take a look at your /etc/bashrc. There should be a line in it that looks
something like this:

	PS1="[\u@\h \W]\\$ " 

Play with that line, to get what you need.

-Kara

-- 
Kara Pritchard                          Phone: 618-398-7360
Author, RHCE Exam Cram
Linux Evangelist                        kara@linuxgruven.com
Asst Dir for Program Development        kara@lpi.org

-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.