简体   繁体   中英

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM