bash: chkconfig: command not found

发布时间:2016-12-7 5:47:35 编辑:www.fx114.net 分享查询网我要评论
本篇文章主要介绍了"bash: chkconfig: command not found",主要涉及到bash: chkconfig: command not found方面的内容,对于bash: chkconfig: command not found感兴趣的同学可以参考一下。

转自:http://ayeic.blog.163.com/blog/static/6928870420097710481357/ [[email protected] ~]# chkconfig bash: chkconfig: command not found [[email protected] ~]# rpm -aq |grep chkconfig chkconfig-1.3.30.1-2 [[email protected] ~]# export PATH=/sbin:$PATH [[email protected] ~]# chkconfig chkconfig version 1.3.30.1 - Copyright (C) 1997-2000 Red Hat, Inc. This may be freely redistributed under the terms of the GNU Public License. usage:   chkconfig --list [name]          chkconfig --add <name>          chkconfig --del <name>          chkconfig [--level <levels>] <name> <on|off|reset|resetpriorities> [[email protected] ~]# echo $PATH /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/gtl/bin [[email protected] ~]# PATH="$PATH":/sbin [[email protected] ~]# echo $PATH /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/gtl/bin:/sbin 大功告成!!!     在终端或纯文本界面下,打开用户主目录下的.bash_profile文件 #cd #ls -a #vi .bash_profile 在PATH那行后面加上/sbin,用冒号分割,如 PATH=$PATH:$HOME/bin:$HOME/sbin 保存退出后,重新注销、登录,就可以生效了。

上一篇:Button渐变色,圆角
下一篇:杂谈-IT审计之我见

相关文章

相关评论