How Do I Enable Bluetooth on Linux Terminal?
Contents

How do I turn on Bluetooth in terminal?

sudo apt-get install blueman.

  1. ‘If you are on Ubuntu or an Ubuntu-based distro, run the following: command:
  2. ‘
  3. sudo apt-get install bluetooth bluez bluez-tools rfkill.
  4. sudo rfkill list.
  5. sudo rfkill unblock bluetooth.
  6. sudo service bluetooth start.
  7. sudo apt-get install blueman.

How do I use Bluetooth on Linux terminal?

How to pair a bluetooth device from command line on Linux

  1. Find your bluetooth device mac address. $ hcitool scan. …
  2. Setup bluetooth-agent to pass the expected pairing code. $ bluetooth-agent 0000 & …
  3. Setup an rfcomm connection and serial port. First we must edit /etc/bluetooth/rfcomm.
Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest