Linux - GeneralThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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....
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.
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?
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!
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..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.