activate bluetooth in ubuntu comand line code example

Example 1: how to configure bluetooth on ubuntu command line

'If you are on Ubuntu or an Ubuntu-based distro, run the following: command:
'
    sudo apt-get install bluetooth bluez bluez-tools rfkill.
    sudo rfkill list.
    sudo rfkill unblock bluetooth.
    sudo service bluetooth start.
    sudo apt-get install blueman.

Example 2: how to configure bluetooth on ubuntu command line

#If you are on Ubuntu or an Ubuntu-based distro, run the following: command:

    sudo apt-get install bluetooth bluez bluez-tools rfkill.
    sudo rfkill list.
    sudo rfkill unblock bluetooth.
    sudo service bluetooth start.
    sudo apt-get install blueman.