LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-22-2002, 05:08 PM   #1
Bigun
Member
 
Registered: Aug 2002
Location: Hickville, TN
Distribution: Gentoo > current. Have used: Red Hat 7.3, 9, Gentoo 1.4
Posts: 400

Rep: Reputation: 30
Question Ok....what happened?


I'm totally confused now. My Gnome terminal prompt used to be:
[Bigun@localhost]$

now its:
bash-2.05a$

How did this change and how can I change it back?

Also, my Gnome "start menu" style has changed, seemingly on it's own.

Help!
 
Old 09-22-2002, 07:55 PM   #2
Bigun
Member
 
Registered: Aug 2002
Location: Hickville, TN
Distribution: Gentoo > current. Have used: Red Hat 7.3, 9, Gentoo 1.4
Posts: 400

Original Poster
Rep: Reputation: 30
Please someone help me with this.
 
Old 09-22-2002, 11:58 PM   #3
sandy
Member
 
Registered: Aug 2002
Location: Mumbai,India
Distribution: Linux Mint 12, Gentoo
Posts: 230

Rep: Reputation: 30
You may have deleted or changed your .bash_profile file. You have to set the BASH_ENV variable in .bash_profile inorder to execute a file /etc/bashrc where the prompt is set.

Add

BASH_ENV=$HOME/.bashrc
export BASH_ENV
 
Old 09-23-2002, 01:23 PM   #4
wonderpun
Member
 
Registered: Aug 2002
Location: Geekland, Planet Earth
Distribution: Slackware 9.1
Posts: 323

Rep: Reputation: 30
You might want to add this to your .bashrc:
PS1=["\u@\h\W"]\#
 
Old 09-23-2002, 01:49 PM   #5
sandy
Member
 
Registered: Aug 2002
Location: Mumbai,India
Distribution: Linux Mint 12, Gentoo
Posts: 230

Rep: Reputation: 30
Question

I dont think that changing variables in .bashrc wont help in this case. I think the problem arises because the path of .bashrc i.e $BASH_ENV is not set in .bash_profile and hence the commands .bashrc is not running and so the prompt variable is not set.

Anyway Bigun plz inform which method worked for you.
 
Old 09-23-2002, 01:51 PM   #6
wonderpun
Member
 
Registered: Aug 2002
Location: Geekland, Planet Earth
Distribution: Slackware 9.1
Posts: 323

Rep: Reputation: 30
Well I just thought that maybe he accidentaly deleted the variable
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What just happened.... midgcool Linux - Software 2 11-25-2004 05:10 PM
what the *** happened here? wijnands Linux - Security 2 10-19-2004 02:25 AM
What happened to LQ? Joey.Dale LQ Suggestions & Feedback 4 04-10-2004 04:02 PM
what happened? Whitemagician Linux - Newbie 9 08-22-2003 01:54 AM
what happened? chief Linux - Software 8 08-04-2003 11:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration