Cheatsheets
  • Cheatsheets
  • systemd 常用命令
  • bypy 命令
  • supervisor
  • 番剧数据更新
  • adb命令
  • PhpStorm 效率
  • Composer
  • Git
  • crontab

systemd 常用命令

启动

systemctl start <service>

停止

systemctl stop <service>

重启

systemctl restart <service>

重新加载服务配置

systemctl reload <service>

查看服务状态

systemctl status <service>

开机自启

systemctl enable <service>

取消开机自启

systemctl disable <service>

列出所有运行的服务

systemctl list-units --type=service

列出所有服务(包含未加载)

systemctl list-unit-files --type=service
Last Updated:
Contributors: keith
Prev
Cheatsheets
Next
bypy 命令