How to show hidden files in macOS?

Recently macOS introduced a new feature in macOS Sierra 10.12.6 and macOS High Sierra which can be used to toggle the visibility of hidden files and folders.

1. Open a new Finder window
2. Press Command+Shift+. together and it will make hidden files and folders visible. By pressing these keys finder will make the files hidden again.

If you are using older version of MacOS X

Show hidden files and folders is a tiny app that will help you to easily make hidden files and folders visible under older versions of Mac OS X.

The application needs to relaunch the finder so I suggest you close all the open files and folders before running the app.