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

相关推荐
appleyk2 小时前
MacOS-12(Intel) Docker部署Dify1.11.1
macos·docker·agent·dify·dify部署
风为你而吹4 小时前
mac m3上使用vscode + platformio开发esp32
ide·vscode·macos
想做后端的小C4 小时前
Mac 环境下设置 idea 中的 tomcat 运行配置
macos·tomcat·intellij-idea
转战英雄枫1 天前
Mac上打开安卓虚拟机BlueStacks Air闪退问题解决
macos·bluestacks
liliangcsdn1 天前
mac m1安装homebrew和iterm2示例
macos
墨&白.1 天前
如何卸载/更新Mac上的R版本
开发语言·macos·r语言
游戏开发爱好者81 天前
苹果 App 上架流程,结合 Xcode、CI 等常见工具
macos·ios·ci/cd·小程序·uni-app·iphone·xcode
科技智驱1 天前
Mac废纸篓清空的东西能还原吗?找回Mac废纸篓数据的教程
macos·数据恢复
猫头虎2 天前
GoLand 2025.3 最新变化:值得更新吗?
ide·windows·macos·pycharm·编辑器·intellij-idea·idea
_可乐无糖2 天前
内网穿透工具使用指南:ngrok 和 cpolar
安全·macos·云计算