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

相关推荐
@大迁世界12 小时前
M6 Pro 的特性将彻底改变我们对 macOS 的认知
macos
superantwmhsxx16 小时前
[golang][MAC]Go环境搭建+VsCode配置
vscode·macos·golang
一次旅行16 小时前
Mac本地部署OpenClaw优化
开发语言·macos·php
cungudafa18 小时前
【Xcode 26.4】报错netinet6/in6.h和comparison ‘X < Y < Z‘
macos·蓝桥杯·xcode
qq_49244844618 小时前
AirTest APP UI自动化测试框架
macos·ui·cocoa
TomSmile_WorkSpace19 小时前
Mac 下手动安装 PicGo Gitee 上传插件解决方案
macos·gitee
feasibility.20 小时前
Mac终端的tmux会话使用Codex 时Ctrl+V 可能触发异常并导致会话假死问题以及解决方法
linux·运维·macos·tmux·codex
zhensherlock20 小时前
Protocol Launcher 系列:Pika 取色器的协议控制(上篇)
前端·javascript·macos·typescript·github·mac·view design
__WanG1 天前
Mac 本地部署 OMLX + 通义千问 Qwen3.5-27B 保姆级教程
macos
节点小宝1 天前
一站式部署:支持Windows、macOS、Linux三端的统一方案
linux·运维·macos