星空网 > 软件开发 > 操作系统

MAC OSX通过Terminal命令行控制蓝牙状态开关

defaults write /Library/Preferences/com.apple.Bluetooth.plist ControllerPowerState 0

#关闭蓝牙服务

 

defaults write /Library/Preferences/com.apple.Bluetooth.plist ControllerPowerState 1

#打开蓝牙服务

 

killall blued

#结束所有蓝牙服务进程

 

launchctl unload /System/Library/LaunchDaemons/com.apple.blued.plist

#卸载蓝牙Daemon

 

launchctl load /System/Library/LaunchDaemons/com.apple.blued.plist

#载入蓝牙Daemon

 

launchctl start com.apple.blued

#重启蓝牙Daemon

 

原文地址:https://discussions.apple.com/thread/2619301?tstart=0




原标题:MAC OSX通过Terminal命令行控制蓝牙状态开关

关键词:

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

抖音小店选品策略:https://www.kjdsnews.com/a/1452235.html
退运货物操作指南,什么是退运货物?那些情形不适用退运货物?:https://www.kjdsnews.com/a/1452236.html
谷歌关键词广告优化的6个技巧:https://www.kjdsnews.com/a/1452237.html
热度飙升!“LED弯刀”在TikTok获千万播放,网友表示太酷了:https://www.kjdsnews.com/a/1452238.html
2023年中国餐饮消费趋势:https://www.kjdsnews.com/a/1452239.html
亚马逊成为美国网购第一入口,评级和评论成影响购买最重要因素:https://www.kjdsnews.com/a/1452240.html
大批Listing被下架,“黄色警告”!提示存在停用风险:https://www.kjdsnews.com/a/1836647.html
跨境支付百科——巴西支付篇:https://www.kjdsnews.com/a/1836648.html
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流