zl程序教程

您现在的位置是:首页 >  其他

当前栏目

KaliLinux-常用命令-服务-命令

2023-02-18 16:35:46 时间

启动服务

命令格式:

service [服务名称] start

例如:

service apache2 start

停止服务

命令格式:

service [服务名称] stop

例如:

service apache2 stop

重启服务

命令格式:

service [服务名称] restart

例如:

service apache2 restart

查看服务状态

命令格式:

service [服务名称] status

例如:

service apache2 status