1、systemctl 列出正在運行的任務 2、systemctl start *.service 開啟相關服務 3、systemctl stop *.service 關閉相關服務 4、systemctl restart *.service 重啟一個服務 5、systemctl status *.s ...
1、systemctl 列出正在運行的任務
2、systemctl start *.service 開啟相關服務
3、systemctl stop *.service 關閉相關服務
4、systemctl restart *.service 重啟一個服務
5、systemctl status *.service 顯示一個服務的狀態
6、systemctl enable *.service 開機時啟動服務
7、systemctl disable *.service 開機時禁止啟動服務
8、systemctl is-enabled *.service 查看服務是否開機啟動
9、systemctl list-unit-files|grep enabled 查看已啟動的服務