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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-28-2004, 12:44 PM
|
#1
|
|
LQ Newbie
Registered: Oct 2004
Location: Boulder, Co
Distribution: Redhat WS4
Posts: 17
Rep:
|
Terminal Executes unwanted command at openning
I was looking at a script that was written for FSL (a data analysis software for Neuroscience). I copy and pasted a command "exec /usr/local/fsl/bin/tixwish" this command should start the program, just to see if it worked. And it does . But now every time I open a terminal the above command is executed automatically. Does anyone know how I can reverse this....
thanks for any replies
|
|
|
|
12-28-2004, 12:49 PM
|
#2
|
|
Member
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825
Rep:
|
Where did you copy and paste it to? You're using bash probably, right? you can look in the .bash* files (.bashrc, .bash_profile, etc.) to see if references are made.
|
|
|
|
12-28-2004, 01:00 PM
|
#3
|
|
LQ Newbie
Registered: Oct 2004
Location: Boulder, Co
Distribution: Redhat WS4
Posts: 17
Original Poster
Rep:
|
No file.. just the terminal window.
I actually copy and pasted it into a terminal window.. no file. That's what I don't understand. Yes I am using bash.
Ok.. I just logged out and logged back in, thinking that it would reset things. When I logged back in, before the Fedora Core 2 screen popped up.. the FSL app opened again and my machine won't continue log in until I close the program..
How do you think typing the command in the terminal window could have effected anything?
thanks
|
|
|
|
12-28-2004, 03:46 PM
|
#4
|
|
Member
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825
Rep:
|
I guess that depends on what the 'tixwish' prog does! Were you logged in as root when you did that? I guess you need this prog on your computer?? Just a guess but maybe look in the /etc/inittab file (or the Fedora equivalent) to see if it's loading there. It could also be set to run in one of the runlevel scripts (rc.0, rc.M, etc.) I guess...maybe... Make sure you know what the prog name is and start looking around!! Let me know where you find it or what you find. I'm curious now!
|
|
|
|
12-28-2004, 04:16 PM
|
#5
|
|
LQ Newbie
Registered: Oct 2004
Location: Boulder, Co
Distribution: Redhat WS4
Posts: 17
Original Poster
Rep:
|
I found out what was going on.. On the website for the program they have a set of lines to add to your .bashrc file to allow a command line option for opening it. On the webpage they had an extra line which turned out to be a call to the actual command line command. So it was in my bashrc file and I didn't recognize it because I assumed that what was ont their webpage was right.
It was just a coinicidence that I entered the "exec" command and then started noticing the problem.
Sorry for the confusion.. but thank you very much for your help..
cheers!!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:06 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|