登 录
1.最简单的办法是在terminal下输入:
source /etc/profile(不过这种办法有些问题,有时候不起作用)
2. 最有效的方法,將sbin命令加入PATH
export PATH=$PATH:/sbin
推荐第二种
抱歉!评论已关闭.