 |
 |
bash startup files
|
 |
|
 |
|
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status:
Offline
|
|
Every time I start up Terminal I get the following error:
-bash: /usr/ebiotools/staden/staden.profile: No such file or directory
This is from the staden package that I had previously installed and since removed, but I'm not sure why it is still being called when I start Terminal. If I then launch a tcsh shell from within Terminal and then another bash shell, it doesn't happen. It only happens when I open a new Terminal window or when I launch Terminal.
I've deleted my .bashrc and .bash_profile files and replaced them with empty files.
Any help?
thanks,
kman
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Jun 2000
Status:
Offline
|
|
Is it maybe in your .login file?
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status:
Offline
|
|
I don't seem to have a .login file in my home folder. Does it reside somewhere else?
kman
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Oct 2000
Location: Midwest
Status:
Offline
|
|
Look for dot files ending in rc (runcom) in your home directory. Have you checked for an invisible directory in your home directory that could be related to the staden package? The install for an application should never put anything in /usr. Yuck!
After your weekly maintenace script, you can use 'locate staden' to see if there are oher remants or download the source again and read the configure file to see what is installed where.
Craig
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Nov 2003
Location: Minnesota
Status:
Offline
|
|
You could check the system-wide rc files in /etc. For example, /etc/bashrc is in there, as well as a bunch of csh files and others.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Jun 2000
Status:
Offline
|
|
Originally posted by kman42:
I don't seem to have a .login file in my home folder. Does it reside somewhere else?
kman
The only .login I know lives in your home folder. Since it starts with a . it will be hidden. Try 'head .login' and then you'll know for sure.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status:
Offline
|
|
Originally posted by Turias:
You could check the system-wide rc files in /etc. For example, /etc/bashrc is in there, as well as a bunch of csh files and others.
Thanks, it was in /etc/csh.login
kman
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status:
Offline
|
|
Originally posted by kman42:
Thanks, it was in /etc/csh.login
kman
I spoke to soon. There were some lines in this file referring to that directory, but even after deleting them I still get the error.
kman
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2001
Status:
Offline
|
|
Yes, why would bash read a tcsh init file. You might want to keep track about all the changes you apply to these files, especially the ones in /etc and keep backups of the original ones.
A list of files read upon startup by shells: http://www.faqs.org/faqs/unix-faq/fa...section-6.html.
-
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status:
Offline
|
|
Originally posted by Moonray:
Yes, why would bash read a tcsh init file. You might want to keep track about all the changes you apply to these files, especially the ones in /etc and keep backups of the original ones.
A list of files read upon startup by shells: http://www.faqs.org/faqs/unix-faq/fa...section-6.html.
-
Cool, thanks! It was in the /etc/profile file.
kman
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum 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
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|