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

相关推荐
EVE จุ๊บ20 小时前
如何修改mac上的jmeter堆内存
jmeter·macos
老蒋每日coding1 天前
Node.js 安装指南(Mac 版本)
macos·node.js
AI玫瑰助手1 天前
Python入门:Windows/macOS/Linux系统安装Python教程
windows·python·macos
智算菩萨1 天前
OpenAI Codex 国内使用完全指南:Windows/macOS/Linux 三平台详细安装配置教程(现在最新的有gpt-5.3-codex和gpt-5.4)
linux·windows·gpt·macos·ai·ai编程·codex
AAI机器之心1 天前
在 macOS 上本地部署 Ollama + LLaMA3(附教程)
人工智能·macos·langchain·llm·知识库·大模型部署
HSTK1 天前
Mac上配置PlatformIO
macos
于慨2 天前
firecrawl
macos
vooy pktc2 天前
macOS安装Redis
数据库·redis·macos
A懿轩A2 天前
Ghostty:告别 Mac 毛坯终端,打造 2026 最丝滑的 Ghostty AI 开发驾驶舱——Claude Code 团队也在用
python·macos·策略模式
空中海2 天前
01. iOS 逆向基础、环境搭建与授权
macos·ios·cocoa