Linux指令 - systemctl

systemctl

man - 控制systemd系統和服務管理程序
實例:
啓動服務

systemctl start network.service

關閉服務

systemctl stop network.service

重啓服務

systemctl restart network.service

查看服務狀態

systemctl status network.service

開機自啓動

systemctl enable network.service

關閉開機自啓動

systemctl disable network.service

查看已有服務

systemctl list-units -type=service
systemctl list-units -t service

命令大全講解

發佈了46 篇原創文章 · 獲贊 8 · 訪問量 2萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章