21

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

20

In addition to checking for the service you can use the command

hcitool dev

that will return all devices turned on.

  • I suppose I needed to word my question better. This answer provides me with what I need. With this I can see if my device is on or off based on whether or not it shows up. Thank you for your reply. – Sai May 31 '12 at 16:03
7

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

  • 5
    Regardless of whether or not the bluetooth is on i get the same message from that command: bluetooth start/running, process 1132 – Sai May 31 '12 at 15:55
3

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.

2

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?

Not the answer you're looking for? Browse other questions tagged or ask your own question.