修改了.bash_profile文件,并source .bash_profile使其生效。
然后像ll vim mv cp等等等命令都报-bash:xx:command not found,what the fuck
键入以下命令
export PATH=/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
然后把你修改的.bash_profile文件改回来,就好了.
修改了.bash_profile文件,并source .bash_profile使其生效。
然后像ll vim mv cp等等等命令都报-bash:xx:command not found,what the fuck
键入以下命令
export PATH=/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
然后把你修改的.bash_profile文件改回来,就好了.