ubuntu自啟動(dòng)程序如何關(guān)停

小億
155
2024-06-12 15:32:05

要停止 Ubuntu 自啟動(dòng)的程序,您可以使用以下命令:

  1. 查看當(dāng)前正在運(yùn)行的自啟動(dòng)程序:
sudo systemctl list-units --type=service
  1. 停止特定的自啟動(dòng)程序:
sudo systemctl stop <service-name>
  1. 禁用特定的自啟動(dòng)程序:
sudo systemctl disable <service-name>

請(qǐng)將 <service-name> 替換為您希望停止或禁用的自啟動(dòng)程序的名稱。

0