sudo service bluetooth restart code example
Example 1: restart bluetooth ubuntu
sudo service bluetooth restart
Example 2: ubuntu bluetooth not working
#turn bluetooth on:
sudo /etc/init.d/bluetooth restart
# make it automatic on boot
sudo systemctl enable bluetooth
Example 3: restart bluetooth in ubuntu
sudo rmmod btusb
sudo modprobe btusb