LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Error while opening Terminal (https://www.linuxquestions.org/questions/fedora-35/error-while-opening-terminal-840445/)

davidshenba 10-25-2010 11:58 PM

Error while opening Terminal
 
Whenever I open the Terminal using the shortcut, I get the following error.

Code:

bash: erport: command not found
I understand that it is a misspelt word (report). But I didn't type that command in the past. And why it is coming up EVERY time I open the Terminal.

Thanks in advance,
David

prayag_pjs 10-26-2010 12:27 AM

Look in ~/.bash_profile, /etc/profile,~./bashrc, /etc/bashrc and see if you find the export command and then zap it. The bash commands in these files are run for each shell session you start.

For more info on these files consult:
http://www.linuxfromscratch.org/blfs...s/profile.html

davidshenba 10-26-2010 04:35 AM

Exactly
 
That's correct...
I am such a fool who edited the .bashrc last night for setting up liferay. now I complain bash is having error... Must have been a hangover. :banghead:

Thanks a lot Prayag


All times are GMT -5. The time now is 11:42 AM.