Linux系统下如何查询程序是否开机就执行
1、1,使用“chkconfig --list | grep sshd”命令来查看sshd服务是否开启。

3、执行“chkconfig --level 35 sshd off”

5、也可以执行“/etc/init.d/sshd stop”,来关闭sshd应用。

1、1,使用“chkconfig --list | grep sshd”命令来查看sshd服务是否开启。
3、执行“chkconfig --level 35 sshd off”
5、也可以执行“/etc/init.d/sshd stop”,来关闭sshd应用。