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

相关推荐
出了名的洗发水16 小时前
mac设置共享文件,win用户也可以访问
macos
superbadguy16 小时前
Mac新手入坑
macos
我寄人间雪满头丶16 小时前
GitHub 私有仓库 SSH 访问配置 SOP(Mac / Windows 通用)
macos·ssh·github
2501_9159184116 小时前
iOS App 测试方法,Xcode、TestFlight与克魔(KeyMob)等工具组合使用
android·macos·ios·小程序·uni-app·iphone·xcode
新手村领路人18 小时前
macos如何查看修改系统变量或用户变量
macos
旭日跑马踏云飞19 小时前
【本地玩AI】在macOS+AppleSilicon安装ComfyUI
人工智能·macos
旭日跑马踏云飞19 小时前
【向日葵】macOS连接windows时剪贴板不生效
macos
CrankZ20 小时前
[开源] 软软启动台 - 支持 Windows 和 macOS 的软件启动台(Launchpad)
macos
七夜zippoe21 小时前
Python多线程性能优化实战:突破GIL限制的高性能并发编程指南
python·macos·多线程·读写锁·gil·rcu
weixin_4624462321 小时前
使用 pip3 一键卸载当前环境中所有已安装的 Python 包(Linux / macOS / Windows)
linux·python·macos