---
title: "mac利用终端命令显示隐藏文件"
author: "小丑鱼0703"
date: "2015-05-05T11:46:08Z"
tags: []
categories: ["非技术"]
slug: "mac"
draft: false
lastmod: "2015-05-05T11:46:08Z"
id: 2208527
url: "https://wangjingyi.iteye.com/blog/2208527"
---

1.打开终端，输入如下命令（注意大小写）： 

```java
defaults write com.app.Finder AppleShowFiles Yes
```

2.重启Finder即可

3.想取消这个效果，只需要执行如下就可以

```java
defaults write com.app.Finder AppleShowFiles NO
```