restart bluetooth in ubuntu rfkill code example
Example: ubuntu bluetooth not working
#turn bluetooth on:
sudo /etc/init.d/bluetooth restart
# make it automatic on boot
sudo systemctl enable bluetooth
#turn bluetooth on:
sudo /etc/init.d/bluetooth restart
# make it automatic on boot
sudo systemctl enable bluetooth