Hello,
Ever since I updated my x86_64 system from CentOS 6.5 to 6.6, I have when I open a terminal, four lines of 'return: Command not found' diplayed. I'm at a loss as to why this is, and was wondering if there is a command I can use to find out what is causing it, and hopefully fix this issue.
Brian Bernard
Hi Brian,
Likely culprits are in
~/.bashrc ~/.bash_profile ~/.profile /etc/profile /etc/profiled.d/*
Try 'source' on each one at a time to see if any triggers the message.
Kal
On 11/26/2014 06:04 PM, Brian Bernard wrote:
Ever since I updated my x86_64 system from CentOS 6.5 to 6.6, I have when I open a terminal, four lines of 'return: Command not found' diplayed. I'm at a loss as to why this is, and was wondering if there is a command I can use to find out what is causing it, and hopefully fix this issue.
Did you link /bin/sh to something other than bash?
I did check the other accounts on my system and found that the problem only exists with those accounts that use csh/tcsh. The ones with bash are fine.
I'm going to go over the .tcsh file in those accounts and perhaps see what the problem is, but it will have to wait until tomorrow afternoon when I have time.
Brian Bernard
On Thu, Nov 27, 2014 at 12:55 AM, Gordon Messmer gordon.messmer@gmail.com wrote:
On 11/26/2014 06:04 PM, Brian Bernard wrote:
Ever since I updated my x86_64 system from CentOS 6.5 to 6.6, I have when I open a terminal, four lines of 'return: Command not found' diplayed. I'm at a loss as to why this is, and was wondering if there is a command I can use to find out what is causing it, and hopefully fix this issue.
Did you link /bin/sh to something other than bash?
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos