跳至主要內容

Linux操作-systemctl命令

HFwasshellshell约 74 字小于 1 分钟

Linux操作-systemctl命令

  • 启动服务,执行systemctl start sshd
  • 查看当前服务状态,执行systemctl status sshd
  • 重启服务,执行systemctl restart sshd
  • 设置服务开启自启动,执行systemctl enable sshd
  • 查看服务是否设置开启自启动,执行systemctl is-enables sshd
评论
  • 按正序
  • 按倒序
  • 按热度
Powered by Waline v3.1.3