Schan
Schan

Reputation: 43

MAC 10.10 Yosemite - Terminal: - bash: [SomeCommand] command not found?

I dont know why but when I write any commands in my terminal. It always show me -bash:[SomeCommand] command not found. I dont know if it's about my path -bash: /user/local/php5/bin:/user/local/mysql/bin: No such file or directory or anything else. It was my first time that I use the terminal and I don't know what happened.

Upvotes: 3

Views: 12304

Answers (1)

MichaelM
MichaelM

Reputation: 5818

You are missing the regular bin directories. Here's what my $PATH looks like on a fresh Yosemite:

/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

Upvotes: 6

Related Questions