随笔分类 -  操作系统 / macOS

摘要:# 查询日志 pmset -g log | grep -e "Wake from" -e "DarkWake" -e "due to" # 查看当前所有睡眠计划 pmset -g custom # 设置使用电池和连接充电器时均关闭powernap sudo pmset -a powernap 0 # 阅读全文
posted @ 2024-02-15 16:20 0x7F 阅读(190) 评论(0) 推荐(0) 编辑
摘要:场景 在编译wine前,执行.configure检查依赖项是否都满足条件,发现bison的版本较低。 检查发现存在一个/usr/bin/bison,但是从未安装过这一命令,所以考虑到是XTools中携带的,检查后发现确实如此 然后就又一次引发了我对于XTool的疑问,/usr/bin/下和XTool 阅读全文
posted @ 2024-02-08 14:48 0x7F 阅读(23) 评论(0) 推荐(0) 编辑
摘要:After we install Xcode Command Line Tools, we will get gcc and g++ in /Library/Developer/CommandLineTools/usr/bin and the same contents in /usr/bin. B 阅读全文
posted @ 2023-09-15 17:29 0x7F 阅读(23) 评论(0) 推荐(0) 编辑
摘要:Clipboard 'pbpaste' output the content of clipboard 'pbcopy' copy the content to clipboard. For example, echo "hello" | pbcopy A ingenious usage, coll 阅读全文
posted @ 2023-08-18 23:44 0x7F 阅读(8) 评论(0) 推荐(0) 编辑
摘要:In Unix-like systems, many softwares use configuration files, because their filenames are always .xxx , they are called dotfiles. A useful way of cont 阅读全文
posted @ 2023-07-25 00:06 0x7F 阅读(142) 评论(0) 推荐(0) 编辑
摘要:这些概念之所以存在其实是历史传承的结果,想要理解本质区别,需要从计算机发展史入手去了解。 首先,总的来说 在以前,终端termial 和 控制台console 都是具体的硬件设备,shell是软件程序 目前,终端termial 和 控制台console 基本已经不再细分且均为软件程序,shell仍然 阅读全文
posted @ 2023-07-24 19:03 0x7F 阅读(237) 评论(0) 推荐(0) 编辑
摘要:3 种安装方式 只安装XCLT XCLT同Homebrew一同安装 安装Xcode完整包 在安装Homebrew时就会自动安装XCLT,没得选,无法选择只安装homebrew而不安装XCLT Reference [1] What are Xcode Command Line Tools [2] In 阅读全文
posted @ 2023-07-23 17:34 0x7F 阅读(47) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示