Linux中,可以通过如下命令( )重启sshd服务。
A: apachectl
B: systemctl
C: timedatectl
D: hostnamectl
A: apachectl
B: systemctl
C: timedatectl
D: hostnamectl
举一反三
- 启动sshd服务的命令 A: systemctl start sshd B: systemctl enable sshd
- 设置sshd服务开机自启的命令是?( ) A: systemctl start sshd B: systemctl enable sshd C: systemctl status sshd D: systemctl restart sshd
- 通过命令"systemctl 选项 sshd”,_______选项能够查看sshd服务的状态
- 在CentOS7中,立即启动sshd服务的命令是 A: systemclt start sshd B: service start sshd C: service sshd start D: systemctl sshd start
- 以下( )命令可以重启network服务。 A: systemctl restart network B: systemctl start network C: systemctl stop network D: systemctl status network