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

相关推荐
00后程序员张15 小时前
完整教程:如何将iOS应用程序提交到App Store审核和上架
android·macos·ios·小程序·uni-app·cocoa·iphone
小河豚oO16 小时前
2. 初识 LLM API:环境配置与多轮对话演示
macos
June56116 小时前
SSH 免密 + 主机指纹登录完整安装步骤(macOS)
运维·macos·ssh
高斯的手稿080118 小时前
使用VNC从Windows/Mac复制文字,粘贴到树莓派终端里
macos
Maynor99620 小时前
刚刚!谷歌 Gemini 推出 Mac 客户端
macos
承渊政道21 小时前
【递归、搜索与回溯算法】(二叉树深搜模型拆解与经典题型全面突破)
数据结构·c++·学习·算法·leetcode·macos·bfs
月诸清酒21 小时前
33-260416 AI 科技日报 (Gemini桌面应用登陆Mac,快捷键唤醒)
人工智能·macos
辰风沐阳1 天前
nvm - node 版本管理工具【macOS/Linux】
linux·运维·macos
xuanwenchao2 天前
Mac M1/M2/M3/M4/M5芯片-系统安装Ubuntu
linux·ubuntu·macos
WMSmile2 天前
macOS 上安装 Wails 3(wails3)步骤
macos