![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
命令行
文章平均质量分 51
太行一粟
C, C++, Python语言
展开
-
pmset解决MacBook快速掉电的问题
pmset解决MacBook快速掉电的问题pmset用法常用命令常用选项常用参数sleephibernatemodestandbyhighstandbythresholdautopoweroffgpuswitch其他常用参数问题排查与解决pmset用法常用命令pmset -g custom:查看当前所有睡眠计划pmset -g cap:查看当前供电条件下可以调节的参数sudo pmset restoredefaults:还原全部设置常用选项pmset -a:调整任何条件下的睡眠计划pm原创 2021-02-02 10:12:06 · 5527 阅读 · 1 评论 -
MacOS安装Command Line Tools工具
MacOS安装Command Line Tools工具安装测试是否安装成功安装xcode-select --install测试是否安装成功xcrunUsage: xcrun [options] <tool name> ... arguments ...Find and execute the named command line tool from the active developerdirectory.The active developer directory c原创 2021-01-30 16:15:18 · 2132 阅读 · 1 评论 -
Macos Sed行为差异
Macos Sed的行为与标准sed不同安装gnu-sedbrew install gnu-sed在/usr/local/bin/有gsed命令使用gsed命令代替sed命令。原创 2021-01-08 16:47:38 · 505 阅读 · 0 评论 -
hdiutil工具
hdiutil工具查看支持的命令命令:hdiutil运行结果:hdiutil: missing verbUsage: hdiutil <verb> <options><verb> is one of the following:help flattenattach imageinfodetach isencryptedeject makehybrid原创 2021-01-03 12:59:45 · 4939 阅读 · 2 评论 -
diskutil命令
diskutil命令mountDisk:挂载unmountDisk:卸载eject:弹出list:查看挂载设备信息listFileSystems:查看支持的文件系统eraseDisk:擦除盘eraseVolume:擦除卷原创 2021-01-02 21:35:11 · 2384 阅读 · 0 评论