command not found. 找不到命令的问题

linux下报错bash: service: command not found
http://lishaorui.iteye.com/blog/1583789
/sbin/service mysql restart.


所有命令无法使用
http://zhidao.baidu.com/link?url=LfXHK1RYF8NrU1_LRdcp_dJC9-G2pvHBvsFVCGQrux1UibEvOwGSOpI14nSsFY1M0gTGIRu9hOh_K-jTWpBH3q

修改一下PATH环境变量
export PATH=/bin:/usr/bin/:.

可以把这句话加到你的.profile或者.bash_profile里,这样每次登录的时候都会生效

猜你喜欢

转载自alleni123.iteye.com/blog/2087470