Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Mystery message in Terminal

Mystery message in Terminal
Thread Tools
Mac Elite
Join Date: Feb 2001
Location: Canaduh
Status: Offline
Reply With Quote
Mar 28, 2003, 12:17 AM
 
Whenever I open a new shell in Terminal, I get the following message:

sh: Blood: command not found

This showed up a couple of days ago. What the hell is it?
     
Dedicated MacNNer
Join Date: Nov 2002
Location: Rouge River
Status: Offline
Reply With Quote
Mar 28, 2003, 11:41 AM
 
Originally posted by Spliff:
Whenever I open a new shell in Terminal, I get the following message:

sh: Blood: command not found

This showed up a couple of days ago. What the hell is it?
My best guess is that you, someone else using your computer or a bad piece of software added something to your .tcshrc file (or .bashrc, if you're using bash as your shell).

Do the following:

open up the terminal, and type 'less ~/.tcshrc'

Does the word 'Blood' appear anywhere in that file? It shouldn't.

If you find an offending line, type 'pico ~/.tcshrc' and delete the line, then save the file. On restarting the terminal app this error message should disappear.
Swimming upstream since 1994.
     
Spliff  (op)
Mac Elite
Join Date: Feb 2001
Location: Canaduh
Status: Offline
Reply With Quote
Mar 28, 2003, 12:29 PM
 
Originally posted by pimephalis:


Do the following:

open up the terminal, and type 'less ~/.tcshrc'
I get a "No such file or directory" when I type that in the terminal.

However, the "blood" thing is gone. Now I get the following message when launching the terminal or a new shell:

Welcome to Darwin!
[h24-80-21-153:~] user% pbpaste | sh
sh: sh:: command not found
[h24-80-21-153:~] user%
     
Dedicated MacNNer
Join Date: Nov 2002
Location: Rouge River
Status: Offline
Reply With Quote
Mar 28, 2003, 11:24 PM
 
Originally posted by Spliff:
I get a "No such file or directory" when I type that in the terminal.

However, the "blood" thing is gone. Now I get the following message when launching the terminal or a new shell:

Welcome to Darwin!
[h24-80-21-153:~] user% pbpaste | sh
sh: sh:: command not found
[h24-80-21-153:~] user%

OK, someone's been messing with your shell environment (or some program).

Try looking in .login, .cshrc or .terminal. Also, have a look at your terminal preferences. There's an option there where you can specify a file or program to run at start.
Swimming upstream since 1994.
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:41 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2