设置sshd服务开机自启的命令是?( )
A: systemctl start sshd
B: systemctl enable sshd
C: systemctl status sshd
D: systemctl restart sshd
A: systemctl start sshd
B: systemctl enable sshd
C: systemctl status sshd
D: systemctl restart sshd
B
举一反三
- 启动sshd服务的命令 A: systemctl start sshd B: systemctl enable sshd
- 在CentOS7中,立即启动sshd服务的命令是 A: systemclt start sshd B: service start sshd C: service sshd start D: systemctl sshd start
- 启动sshd服务的shell命令用法不正确的是: A: systemctl start sshd.service B: systemctl start sshd C: systemd start sshd.servie D: service sshd.service start
- 通过命令"systemctl 选项 sshd”,_______选项能够查看sshd服务的状态
- 重启系统中的sshd服务,写出该命令。 A: service sshd start B: service sshd status C: service sshd stop D: service sshd restart
内容
- 0
Linux中,可以通过如下命令( )重启sshd服务。 A: apachectl B: systemctl C: timedatectl D: hostnamectl
- 1
使WWW服务开机启动的命令是( ) A: systemctl start httpd B: systemctl start www C: systemctl enable httpd D: systemctl restart httpd
- 2
确认httpd服务运行状态的命令为()。 A: systemctl status httpd B: systemctl restart httpd C: systemctl start httpd D: systemctl enable httpd
- 3
在“systemctl 选项 sshd.service”命令中,______“选项”能够使得sshd服务进程随着操作系统的启动而启动
- 4
希望某一个服务httpd开机自启动,应该使用如下那种命令? A: systemctl able httpd.service B: systemctl enable httpd.service C: systemctl start httpd.service D: systemctl restart httpd.service