LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   pesky bash shell error every time I log in (https://www.linuxquestions.org/questions/linux-newbie-8/pesky-bash-shell-error-every-time-i-log-in-192740/)

illiniguy3043 06-12-2004 01:29 PM

pesky bash shell error every time I log in
 
I'm running in bash shell and every time I log in I get this "bash: setenv: command not found" error. I checked my .bashrc and bash_profile files and there are no setenv commands anywhere so I don't know why I keep getting this error. I have a couple seperate shell scripts in my home directory that are written in tcsh that have setenv commands in them but I wouldn't think that bash would execute them every time I log in. There are no calls to these scripts in my .bashrc or .bash_profile files either so I'm at a loss as to how to get rid of this error. The error doesn't really affect anything but it is annoying. Anyone have any ideas?

illiniguy3043 06-12-2004 01:54 PM

Nevermind I figured it out; I had a saved version of my .bash_profile file saved as bash_profile.orig which didn't have the setenv commands in it but I accidentally put in the setenv commands into my .bash_profile file a few weeks ago and didn't realize it because I'm still quite a newbie. I didn't realize that your .bash_profile file wasn't visable when I did an ls in my home directory but oh well live and learn. At least I figured it out :).


All times are GMT -5. The time now is 05:16 PM.