When I want to enter a command for example "say" it returnes me sty like this:

bash: say: command not found.
It appears every time I write a command. What do I have to do?

link|improve this question
feedback

migrated from stackoverflow.com Jan 24 at 20:11

This question came from our site for professional and enthusiast programmers.

2 Answers

Have you made sure that your $PATH variable is set?

You can check by typing this in the Terminal:

echo $PATH

If nothing is listed after you try that... it might be part of the problem.

(For more information, you could try checking this page out: http://www.cyberciti.biz/faq/linux-unix-command-not-found-error-and-how-to-get-rid-of-it/)

link|improve this answer
Just for reference the default $PATH variable should return the following in a Snow Leopard installation at least. /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin – Sean Ferguson Jan 24 at 21:05
feedback

If you use quotes it will not display them, but tell you that there is no command. Many tutorials use quotes to show what you should type in, but sometimes they don't say "Without the quotes."

link|improve this answer
feedback

Your Answer

 
or
required, but never shown