macOs
- Identify your Mac mini
- Identify your MacBook Pro
- Identify your iPad model
- Where does Mac OS X come from?
- 好看的屏保 https://github.com/JohnCoates/Aerial
brew cask install aerial
- iousbhiddriver
- 支持 Noppoo Choc 的驱动
- 参考
- Clean-Me
# 查看可用的分辨率
system_profiler SPDisplaysDataType |grep Resolution
xrandr
# 统计 Chrome 用的内存
ps aux | grep -i chrome | awk '{sum += $4} END {print 4*1024 * (sum/100)}'
# 类似于 lsusb
ioreg -p IOUSB -l -w 0
# lsusb
brew update && brew tap jlhonora/lsusb && brew install lsusb
# 更新软件
softwareupdate -i -w
# 查看 OS X 系统版本信息
sw_vers
# 打开屏保
open -a ScreenSaverEngine
# 锁屏
/System/Library/CoreServices/"Menu Extras"/User.menu/Contents/Resources/CGSession -suspend
# 阅读邮件
mail
# 删除所有邮件
# delete *
# q
# 查看硬件网络端口
networksetup -listallhardwareports
# 查看隐藏文件,需要重启 finder
defaults write com.apple.finder AppleShowAllFiles YES
# 关闭 finder
killall Finder /System/Library/CoreServices/Finder.app
# 关闭
defaults write com.apple.finder AppleShowAllFiles NO
打开取色器
on run {input, parameters}
choose color
return input
end run
文件目录结构
/Library
/Screen Savers # 屏保程序
Brew
Brew 是 OS X 上必不可少的软件包管理器, 具体使用可参考这里
移动磁盘格式选择
如果想要将移动磁盘与 PC 和 Mac 共用,最好选择 ExtFAT,支持大文件(>4G), 都能被识别和读写,在 Mac 上格式化的时候,需要选择使用主引导记录而不是 GUID, 否则 Windows 识别不了.
启动选项
启动键 | 描述 |
---|---|
Command-R | 恢复模式 |
Command-Option-R | 网络恢复模式 |
Alt/Option | 访问启动管理器 |
C |