LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-03-2005, 07:21 PM   #1
anandt4u
LQ Newbie
 
Registered: Jun 2005
Location: Montreal
Distribution: Fedora Core 3
Posts: 29

Rep: Reputation: 15
Question Removing from bash command prompt??


Hi,
I installed Intel c++ compiler on linux. Then when i typed icc in the terminal it said command not found. So i referred to the intel manual and added the icc command to some load up script (just like how we set the path in the autoexec.bat file). Now i have unistalled it but forgot which file i changed. WHenever linux loads i get an error saying the file does not exist. Can you tell me which file should be modified to remove the autoloadup script??

thanks
 
Old 06-03-2005, 07:36 PM   #2
mhearne
Member
 
Registered: Nov 2004
Location: Amarillo, TX
Distribution: Mandriva
Posts: 91

Rep: Reputation: 15
Did you actually write a script and place it in init.d or could it be that you added a line to the end of rc.local?

In Mandrake (and others), these files would be located in /etc/rc.d/init.d/ and /etc/rc.d/rc.local, respectively. Also check /etc/bashrc and see if you're exporting it on boot.

If it's in your path then edit ~/.bash_profile and take it out.

Sorry I can't be more clear, but I'm not sure what you did, or what distribution you're using.

Michael
 
Old 06-03-2005, 07:39 PM   #3
anandt4u
LQ Newbie
 
Registered: Jun 2005
Location: Montreal
Distribution: Fedora Core 3
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by mhearne
Did you actually write a script and place it in init.d or could it be that you added a line to the end of rc.local?

In Mandrake (and others), these files would be located in /etc/rc.d/init.d/ and /etc/rc.d/rc.local, respectively. Also check /etc/bashrc and see if you're exporting it on boot.

If it's in your path then edit ~/.bash_profile and take it out.

Sorry I can't be more clear, but I'm not sure what you did, or what distribution you're using.

Michael
yes thanks...i had edited the .bash_profile thing ...now its fine

btw i am using fedora core 3
thanks again
 
Old 06-03-2005, 10:36 PM   #4
mhearne
Member
 
Registered: Nov 2004
Location: Amarillo, TX
Distribution: Mandriva
Posts: 91

Rep: Reputation: 15
Fedora Core is close enough - Mandrake split off from Red Hat when? About v6.2 or thereabouts. Probably earlier. The filesystem hierarchy is still pretty much the same, but they've really branched apart otherwise.

Good! I'm glad you found it. I hate it when some tiny little thing is ruining my day.

I keep a steno notebook on the desk, and use it to keep a running log. I don't make a lot of changes but when I do anything to alter the path or modify a configuration file, I just make a short note. It's been very helpful.

Michael
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bash prompt subG Slackware 6 01-18-2006 04:43 PM
help! bash command prompt font/color change richiangpan9 Linux - Newbie 3 04-24-2005 11:34 AM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 07:14 PM
Removing shell login prompt SkinnyPupp Linux - Newbie 5 01-02-2004 01:57 AM
Changing the command prompt in bash george3k Linux - General 4 07-11-2001 08:10 PM


All times are GMT -5. The time now is 12:37 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration