macOS 经常全部命令 not found 问题

Image for post
Image for post

问题现象

command not found

解决方法

export PATH=”/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin”
source ~/.bash_profile

玄学时间

echo $PATH

Written by

最后的栖息地

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store