如何在Linux PC上禁用蓝牙(并启用它)
时间:2020-02-23 14:38:25 来源:igfitidea点击:
如何从命令行中禁用蓝牙
1.Linux终端
2.现在在终端中运行以下命令。
出现提示时输入root密码。 sudo systemctl disable bluetooth
重新启动后,这将禁用蓝牙,但不会停止当前正在运行的蓝牙进程。
3.检查命令systemct是否成功禁用蓝牙。 systemctl is-enabled bluetooth
4.如果要立即停止蓝牙进程而不是等待下次重启,请使用此命令。 systemctl stop bluetooth
从CLI禁用Linux中的蓝牙
如何从CLI启用蓝牙
运行相同的SystemCtl工具,将系统上的蓝牙恢复到生机。 sudo systemctl enable bluetooth