I am looking for a way to check to see if the bluetooth is enabled or disabled on my laptop via the terminal. Is there a command that I can use to find this information
In addition to checking for the service you can use the command
that will return all devices turned on.
Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, You can run this command to see the status of bluetooth
sudo service bluetooth status
after you enter your password, you should see something like
bluetooth is running
An alternative is to use the command
hciconfig. It will list clearly the interfaces, and you will see by the marker "RUNNING" or "DOWN" what is their current status.
rfkill list will show you a list of network devices and if they are on or off.
protected by Community♦ Oct 10 '18 at 10:16
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?