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

相关推荐
白玉cfc13 小时前
【iOS】UICollectionView
macos·ios·cocoa
fukai772213 小时前
BetterDisplay Pro for Mac显示器增强工具
macos·计算机外设
ajassi200015 小时前
开源 Objective-C IOS 应用开发(一)macOS 的使用
macos·ios
MonkeyKing_sunyuhua16 小时前
mac怎么卸载office Powerpoint
macos·powerpoint
lichong95116 小时前
【macOS 版】Android studio jdk 1.8 gradle 一键打包成 release 包的脚本
android·java·前端·macos·android studio·大前端·大前端++
fukai772217 小时前
优雅与极简:将你的屏幕变成复古翻页钟——Fliqlo for Mac 完全指南
macos
BianHuanShiZhe1 天前
ios 26的tabbar 背景透明
macos·objective-c·cocoa
ai_xiaogui1 天前
AIStarter跨平台完工:Win/Mac/Linux一键部署Stable Diffusion
linux·macos·stable diffusion·aistarter·kritaai·跨平台部署
Macbethad1 天前
Typora 精通指南:掌握高效 Markdown 写作的艺术
前端·macos·前端框架
杨凯凡2 天前
Docker环境搭建:Windows/macOS/Linux全平台教程
windows·macos·docker