How do you disable Bluetooth from terminal in Ubuntu
Asked
Active
Viewed 3.1k times
18
6 Answers
21
To stop :
sudo service bluetooth stop
To start again:
sudo service bluetooth start
To restart :
sudo service bluetooth restart
To check current status:
service bluetooth status
Or you can use rfkill
command:
rfkill block bluetooth

Maythux
- 84,289
-
1
-
Someone doesn't like you. But I can't upvote or downvote, since I don't have Ubuntu. Do you think this will work on a tablet? – Ismael Miguel Jun 19 '15 at 12:01
-
1
-
I need to set up a chroot with ubuntu and a USB bluetooth adapter to test. Or try a VM. – Ismael Miguel Jun 19 '15 at 12:17
6
You can also disable single adapters like
sudo hciconfig hci0 down
If hci0
is the only adapter, this means bluetooth is unavailable then.
-
Would that switch the dongle mode to HDI and be able to use it on boot? – Automat Aug 12 '15 at 13:51
-
3
2
on more recent ubuntu, bluetooth can be controlled with:
bluetoothctl power off
and bluetoothctl power on
This method doesn't require root privileges, and also the changes are immediately visible on the gnome bluetooth applet.

ckjoris
- 21
2
Also if you want to disable it permanently:
sudo mv /etc/init/bluetooth.conf /etc/init/bluetooth.conf.disabled
To re-enable:
sudo mv /etc/init/bluetooth.conf.disabled /etc/init/bluetooth.conf

JoKeR
- 6,972
- 9
- 43
- 65
1
Ubuntu version 20.04
:
disable bluetooth service:
#disable bluetooth service
sudo systemctl disable bluetooth
#stop running instance
sudo systemctl stop bluetooth
re-enable service later:
#re-enable bluetooth service later
sudo systemctl enable bluetooth
#start bluetooth service again
sudo systemctl start bluetooth
-
Can you add a few more explanations? Also, giving how to restart / re-enable it is a good tip – damadam Dec 13 '19 at 12:58
-
This does not actually work, despite not throwing an error on the command line. – Lexible Feb 02 '22 at 19:21
-
-
-
@Lexible: Any output on
journalctl
Ordmesg |grep -i blue
? – MD. Mohiuddin Ahmed Feb 20 '22 at 04:56
lsusb
as I know another method that works – Jeremy31 Jun 19 '15 at 20:46