sudo service bluetooth restart linux mint code example
Example: how to turn off bluetooth in ubuntu 18.04 terminal
sudo rfkill block bluetooth : To stop bluetooh
sudo rfkill unblock bluetooth : To start bluetooh
sudo rfkill block bluetooth : To stop bluetooh
sudo rfkill unblock bluetooth : To start bluetooh