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

相关推荐
醇氧4 小时前
Mac 安装 Docker Desktop
macos·docker·容器
神秘人-解说6 小时前
在Mac上安装Windows 11/10双系统(M1/M2/Intel通用)
windows·macos·mac安装双系统·mac安装虚拟机·mac安装windows
知难行难6 小时前
macOS配置Apocrita及ssh访问及获取GPU权限
运维·macos·ssh
游戏开发爱好者810 小时前
Mac 抓包软件怎么选?从 HTTPS 调试、TCP 数据流分析到多工具协同的完整抓包方案
tcp/ip·macos·ios·小程序·https·uni-app·iphone
马拉萨的春天12 小时前
iOS中广告SDK如何判断一个广告是否真实展示
macos·ios·cocoa
心灵宝贝20 小时前
Mac 安装 JDK 8u281(JDK-8u281-1.dmg)详细步骤(附安装包)
java·macos·intellij-idea
侯小啾1 天前
理解计算机网络中的MAC地址
网络·计算机网络·macos·mac
坚果派·白晓明1 天前
开源鸿蒙终端工具Termony构建HNP包指导手册Mac版
macos·开源·harmonyos
CXH7281 天前
k8s-host-mac
macos·容器·kubernetes
德生coding1 天前
linux系统多网卡共用一个MAC地址的使用问题
macos