用 bluetoothctl 查看已配对的蓝牙设备
列出配对过的耳机、键盘、手机,并清理失效的设备记录。
运行 bluetoothctl devices Paired 列出已配对设备,bluetoothctl info MAC 查看某台设备的连接和电量详情。
01命令
命令
$ bluetoothctl devices Paired && bluetoothctl info02作用说明
bluetoothctl 是 BlueZ 的命令行控制器,devices Paired 一条命令就能列出所有记住的设备,不用打开图形设置。bluetoothctl info MAC 能看到设备当前是否在线,耳机上报电量时还能看到百分比。换掉的旧手机留下的失效记录用 bluetoothctl remove MAC 删除,很多配对失败都是记录太多导致的。
03风险
!注意: remove MAC 会删除本机的配对关系——另一台设备必须重新配对才能再次连接;交互模式下用 quit 退出。
04撤销
✓无需撤销——该命令不会改变持久状态。
05来源
- bluetoothctl(1) — manual page依据: bluetoothctl provides commands to list paired devices, show device info such as battery percentage, and pair or remove devices.
- bluetoothctl(1) — Ubuntu manual page依据: bluetoothctl is the interactive controller for BlueZ; subcommands include devices (list known devices), info (details of a device) and remove.
最后验证: 2026-09-18 · 分类: 网络