linux服务查看命令

网络应用12年前 (2011)发布 zy
624 0 0

 ls /etc/rc.d/init.d    /*查看系统内有那些服务*/

 ls /etc/rc.d/init.d|服务名称  /*查看服务*/

/etc/rc.d/init.d/httpd start        启动http服务

/etc/rc.d/init.d/vsftp status     查看服务启动状态

service httpd stop     停止http服务

chkconfig –list httpd 查看服务状态

service httpd start 启动http服务

chkconfig–level 235 sftpd on      设置服务启动级别

© 版权声明

相关文章

暂无评论

您必须登录才能参与评论!
立即登录
暂无评论...