mac相关命令

  1. 显示和隐藏usr等隐藏文件文件
    terminal输入:
bash 复制代码
defaults write com.apple.Finder AppleShowAllFiles YES

defaults write com.apple.Finder AppleShowAllFiles NO
  1. .bashrc每次启动shell自动生效
    编辑vim ~/.bash_profile 文件, 加上
bash 复制代码
if [ -f ~/.bashrc ]; then
	. ~/.bashrc
fi

注意空格不能少, 然后 source ~/.bash_profile

相关推荐
fthux8 小时前
如果你用 Mac,那你可能需要 Noti Shift
macos·开源·github
counterxing3 天前
最近发现一个 Mac 工具,有点像把 Raycast、语音输入法、截图和录屏塞到了一起
macos·ai编程·claude
元Y亨H10 天前
MacBook Air 开发神器:IDEA 与 PyCharm 极简安装及环境配置
macos
yuanyxh11 天前
macOS 应用 - 纯对话生成
前端·macos·ai编程
AI创界者13 天前
PilotTTS 一键整合包(Win/Mac):8G 显存畅跑,实测解锁情绪与副语言的精准控制
人工智能·macos·aigc·音视频
AirDroid_cn13 天前
系统终端与iTerm2字体看起来不一样?macOS Sequoia统一渲染指南
macos
JiaWen技术圈13 天前
2026 年的 macOS 磁盘清理方法
macos
lichong95113 天前
让AI自己用电脑!Cua:后台操作鼠标键盘,Mac/Windows/Linux全支持
人工智能·macos·ai·计算机外设·agent·提示词
A尘埃13 天前
批处理命令(Linux/Mac、Windows项目启动脚本)
linux·windows·macos