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

相关推荐
FreeBuf_19 小时前
高度复杂的macOS DigitStealer采用多阶段攻击逃避检测
macos·m2芯片
ai_xiaogui1 天前
Mac苹果版Krita AI一键安装教程:AIStarter+ComfyUI零基础部署全流程(X86/ARM双架构)
arm开发·人工智能·macos·comfyui·一键部署·ai绘画教程·kritaai
晚枫~2 天前
不同浏览器在Windows和Mac上的跨域配置方法
windows·macos
denggun123452 天前
Xcode的App Thinning Size Report分析包体积
macos·蓝桥杯·xcode
醇氧2 天前
MAC安装 Notepad Next
macos
我的golang之路果然有问题3 天前
mac配置 unity+vscode的坑
开发语言·笔记·vscode·macos·unity·游戏引擎
alanesnape3 天前
Mac 目录树结构与基础 Linux 指令指南
macos
Digitally3 天前
解决“Move to iOS 卡在准备中”的 9 种有效方法
macos·ios·cocoa
影魅周影3 天前
解决mac端pycharm执行allure命令报错:returned non-zero exit status 127
ide·macos·pycharm
2501_927541093 天前
CameraBag Mac英文 照片视频滤镜编辑工具
macos