Brian Bernard
2014-Nov-27 02:04 UTC
[CentOS] CentOS 6.6 Displays "return: Command not found" in Terminal
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
Kahlil Hodgson
2014-Nov-27 04:33 UTC
[CentOS] CentOS 6.6 Displays "return: Command not found" in Terminal
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
Gordon Messmer
2014-Nov-27 05:55 UTC
[CentOS] CentOS 6.6 Displays "return: Command not found" in Terminal
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?
Brian Bernard
2014-Nov-27 06:43 UTC
[CentOS] CentOS 6.6 Displays "return: Command not found" in Terminal
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 at 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 at centos.org > http://lists.centos.org/mailman/listinfo/centos >