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

相关推荐
香蕉鼠片6 小时前
跨平台开发到底是什么
linux·windows·macos
于慨13 小时前
mac安装flutter
javascript·flutter·macos
码农阿豪18 小时前
中兴 F50 刷 UFI-TOOLS + cpolar:随身 WiFi 也能远程管理了
人工智能·windows·macos
云空18 小时前
《OpenClaw(macOS版)部署与使用中的安全问题及解决方案》
安全·macos·策略模式
Digitally18 小时前
如何在Windows、Mac和移动设备上永久删除Word文档
windows·macos·word
Chengbei1119 小时前
Fortify_SCA_26.1版下载(OpenText SAST(Fortify SCA)26.1 windows/Linux/Mac)全版本下载
运维·安全·web安全·macos·网络安全·系统安全·代码审计
zhangjikuan8920 小时前
RunLoop学习记录
学习·macos·cocoa
blackorbird21 小时前
Predator间谍软件iOS内核利用引擎深度解析
macos·ios·objective-c·cocoa
一个小浪吴啊21 小时前
Linux/Mac Hermes Agent部署教程
linux·运维·macos·ai·ai编程
BugShare1 天前
开源的 macOS 应用管理器和系统清理器
macos