Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-12-2004, 01:29 PM   #1
Registered: May 2004
Location: Illinois
Distribution: Ubuntu 8.04
Posts: 56

Rep: Reputation: 15
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?
Old 06-12-2004, 01:54 PM   #2
Registered: May 2004
Location: Illinois
Distribution: Ubuntu 8.04
Posts: 56

Original Poster
Rep: Reputation: 15

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 .


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
lfs-6.1 Bash-3.0 [make test]log:could be error to continue?? ukyo Linux From Scratch 2 08-25-2005 07:35 AM
Pesky error messages trackrat SUSE / openSUSE 5 01-23-2005 12:19 PM
Error in bash shell ppy Programming 2 11-10-2004 12:35 AM
starting bash as a login shell every time slackwarefan Slackware 3 04-30-2004 02:55 PM
Can log files be time stamped? (such as FTP login and transfer log files) bripage Linux - Networking 6 08-08-2002 10:55 PM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration