Show/hide hidden files and folders in MacOS

Step 1: Open Terminal.

There are 2 ways to open Terminal:

Method 1: From Desktop (Finder), Go -> Applications -> Utilities -> Terminal.app

screen-shot-2017-01-07-at-08-56-00

Method 2: Using hotkey to open Spotlight (Command + SpaceBar is default), type “Terminal” then press Enter to open up the Terminal.

screen-shot-2017-01-07-at-08-56-48

Step 2: Copy this following line and paste it to your Terminal:

defaults write com.apple.finder AppleShowAllFiles YES

Step 3: Relaunch Finder to see effects.

We also have 2 ways to do this step:

Method 1: Holding “Option/alt” on keyboard and right-click on “Finder” icon on the dock, choose “Relaunch”.

screen-shot-2017-01-07-at-08-57-54

Method 2: Run this command from Terminal: killall Finder /System/Library/CoreServices/Finder.app

Notice:

To rollback to default setting (DO NOT show hidden files/folders), just replace YES to NO on the step 2.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s